For instance, the LAPACK Fortran package stores an unsymmetric tridiagonal matrix of order "n" in three one-dimensional arrays, one of length "n" containing the diagonal elements, and two of length "n" − 1 containing the subdiagonal and superdiagonal elements.