|
| Matrix (std::size_t rows, std::size_t cols) |
| Construct matrix with specified dimensions.
|
|
| Matrix () |
| Default constructor creates an empty matrix (0x0)
|
|
| Matrix (std::size_t rows, std::size_t cols, const std::vector< T > &data) |
| Construct matrix with specified dimensions and data.
|
|
T & | operator() (std::size_t row, std::size_t col) |
| Access matrix element (mutable)
|
|
const T & | operator() (std::size_t row, std::size_t col) const |
| Access matrix element (const)
|
|
Matrix< T > | transpose () const |
| Create transpose of this matrix.
|
|
std::size_t | ncol () const |
| Get number of columns.
|
|
std::size_t | nrow () const |
| Get number of rows.
|
|
template<typename T>
class qualpal::Matrix< T >
Dynamic matrix class with runtime-determined dimensions.
- Template Parameters
-
T | Element type (typically double or float) |
Definition at line 22 of file matrix.h.