|
| MatViewCol (const Mat< T, n_rows, n_cols, matType< type_parent >()> &m, size_t index) |
| Construct a new MatViewCol object from raw data pointer.
|
|
| MatViewCol (const MatViewCol &m) |
| Copy constructor.
|
|
T | operator() (size_t r, size_t c) const |
| Get the read only data element from row and column index.
|
|
T | operator[] (size_t index) const |
| Get the read only element by array row major index.
|
|
| operator Vec< T, n_rows > () const |
| Conversion from view to a real Mat.
|
|
Vec< T, n_rows > | asMat () const |
| Explicitly make a Mat copy.
|
|
Vec< T, n_rows > | asVec () const |
| Explicitly make a Mat (Vec) copy.
|
|
void | print (const std::string &str="", std::ostream &os=std::cout) const |
|
template<typename T, size_t n_rows, size_t n_cols,
MatType type, typename type_parent>
class flames::MatViewCol< T, n_rows, n_cols, type, type_parent >
Read only view version of a certain column as colunm vector.
- Template Parameters
-
T | Element type. |
n_rows | Number of rows. |
n_cols | Number of columns. |
type | Matrix type (surely NORMAL here). |
type_parent | Parent matrix (where it takes the colunm vector) type. |