|
| MatRef (Mat< T, n_rows, n_cols, type > &m) |
| Construct a new MatView object from raw data pointer.
|
|
| MatRef (const T *const ptr) |
|
| MatRef (const MatRef &m) |
| Copy constructor.
|
|
MatRef & | operator= (const Mat< T, n_rows, n_cols, type > &m) |
|
template<typename M > |
void | assign (M m) |
|
T | operator() (size_t r, size_t c) const |
| Get the read only data element from row and column index.
|
|
T & | operator() (size_t r, size_t c) |
| Get writeable data element by row index and column index.
|
|
T | operator[] (size_t index) const |
| Get the read only element by array row major index.
|
|
T & | operator[] (size_t index) |
| Get the writeable element by array row major index.
|
|
void | setValue (T val) |
| Set all elements of the matrix to a value.
|
|
void | setZero () |
| Set all elements of the matrix to zero.
|
|
template<template< class, size_t, size_t, MatType, class... > typename M, typename... _unused, typename T2 , MatType type2, size_t rows_, size_t cols_> |
MatRef & | col (const M< T2, rows_, cols_, type2, _unused... > &mat, size_t c) |
| Take a column of a matrix by index.
|
|
template<template< class, size_t, size_t, MatType, class... > typename M, typename... _unused, typename T2 , MatType type2, size_t rows_, size_t cols_> |
void | col (size_t c, const M< T2, rows_, cols_, type2, _unused... > &mat) |
|
Mat< T, n_rows, 1, MatType::NORMAL > | col (size_t c) const |
| Take a column of a matrix by index and make a copy.
|
|
template<template< class, size_t, size_t, MatType, class... > typename M, typename... _unused, typename T2 , MatType type2> |
MatRef & | add (const M< T2, n_rows, n_cols, type2, _unused... > &mat_R) |
|
template<template< class, size_t, size_t, MatType, class... > typename M, typename... _unused, typename T2 , MatType type2> |
MatRef & | sub (const M< T2, n_rows, n_cols, type2, _unused... > &mat_R) |
|
MatViewT< T, n_cols, n_rows, type > | t_ () const |
|
template<typename Tp = T> |
Tp | power () const |
|
template<typename Tp = T> |
Tp | abssum () const |
|
| operator Mat< T, n_rows, n_cols, type > () const |
| Conversion from view to a real Mat.
|
|
Mat< T, n_rows, n_cols, type > | asMat () const |
| Explicitly make a Mat copy.
|
|
void | print (const std::string &str="", std::ostream &os=std::cout) const |
|