|
Anasazi Version of the Day
|
A column-oriented dense matrix. More...
#include <Tsqr_Matrix.hpp>
Public Member Functions | |
| template<class MatrixViewType > | |
| void | copy (MatrixViewType &B) |
| Scalar & | operator() (const Ordinal i, const Ordinal j) |
| Scalar & | operator[] (const Ordinal i) |
| 1-D std::vector - style access | |
| void | reshape (const Ordinal num_rows, const Ordinal num_cols) |
A column-oriented dense matrix.
A column-oriented dense matrix, with indices of type Ordinal and elements of type Scalar.
Definition at line 56 of file Tsqr_Matrix.hpp.
| void TSQR::Matrix< Ordinal, Scalar >::copy | ( | MatrixViewType & | B | ) | [inline] |
*this gets a deep copy of B.
Definition at line 201 of file Tsqr_Matrix.hpp.
| Scalar& TSQR::Matrix< Ordinal, Scalar >::operator() | ( | const Ordinal | i, |
| const Ordinal | j | ||
| ) | [inline] |
2-D Fortran array - style access (column-major order, though indexing is zero-based (C style) instead of one-based (Fortran style))
Definition at line 225 of file Tsqr_Matrix.hpp.
| Scalar& TSQR::Matrix< Ordinal, Scalar >::operator[] | ( | const Ordinal | i | ) | [inline] |
1-D std::vector - style access
Definition at line 234 of file Tsqr_Matrix.hpp.
| void TSQR::Matrix< Ordinal, Scalar >::reshape | ( | const Ordinal | num_rows, |
| const Ordinal | num_cols | ||
| ) | [inline] |
Change the dimensions of the matrix. Reallocate if necessary. Existing data in the matrix is invalidated.
| num_rows | [in] New number of rows in the matrix |
| num_cols | [in] New number of columns in the matrix |
Definition at line 299 of file Tsqr_Matrix.hpp.
1.7.4