<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
Legacy matrix. More...
#include <LegacyMatrix.hpp>
Public Member Functions | |
constexpr | LegacyMatrix (idx_t m, idx_t n, T *ptr) |
constexpr | LegacyMatrix (idx_t m, idx_t n, T *ptr, idx_t ldim) |
constexpr const T & | operator() (idx_t i, idx_t j) const noexcept |
constexpr T & | operator() (idx_t i, idx_t j) noexcept |
Public Attributes | |
idx_t | ldim |
Leading dimension. | |
idx_t | m |
idx_t | n |
Sizes. | |
T * | ptr |
Pointer to array in memory. | |
Static Public Attributes | |
static constexpr Layout | layout = L |
Legacy matrix.
LegacyMatrix::ldim is assumed to be positive.
T | Floating-point type |
idx_t | Index type |
L | Either Layout::ColMajor or Layout::RowMajor |