Go to the source code of this file.
Classes | |
class | LaTridiagMatDouble |
Tridiagonal square matrix class. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &s, const LaTridiagMatDouble &td) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const LaTridiagMatDouble & | td | |||
) |
Print the matrix to the given output stream. If the matrix info flag is set, then this prints only the matrix info, see LaGenMatDouble::info(). Otherwise all matrix elements are printed.
The printing format of this NxN tridiagonal matrix is as follows: First the N-1 elements of the superdiagonal are printed, then the N elements of the diagonal, then the N-1 elements of the subdiagonal.