Sparse Matrix Classes
The Linear Algebra Module classes represent a variety of matrix types, including: general, dense symmetric, skew symmetric, Hermitian, banded, symmetric banded, Hermitian banded, upper-triangular, lower-triangular, and tridiagonal. These classes are contained in Table 2.
Table 2 – The Sparse Matrix Classes 
Class Name
Type
Header Files
A banded matrix. A banded matrix is nonzero only near the diagonal.
rw/lapack/bandmat.h
A Hermitian banded matrix. A Hermitian banded matrix is Hermitian, and nonzero only near the diagonal.
rw/lapack/hbndmat.h
A Hermitian dense matrix. A Hermitian matrix is defined by the requirement that Aij = conj(Aji).
rw/lapack/hermmat.h
A lower triangular matrix. A lower triangular matrix is 0 above the diagonal.
rw/lapack/ltrimat.h
A skew symmetric matrix.
rw/lapack/skewmat.h
A symmetric band matrix. A symmetric banded matrix is symmetric, and nonzero only near the diagonal.
rw/lapack/sbndmat.h
A symmetric matrix. A symmetric matrix is defined by the requirement that Aij = Aji, so a symmetric matrix is equal to its transpose.
rw/lapack/symmat.h
A tridiagonal matrix. A tridiagonal matrix is nonzero only on the diagonal, the subdiagonal, and the superdiagonal.
rw/lapack/trdgmat.h
An upper triangular matrix. An upper triangular matrix is 0 below the diagonal.
rw/lapack/utrimat.h