|
| MatView (const Mat< T, n_rows, n_cols, type > &m) |
| Construct a new MatView object from raw data pointer.
|
|
| MatView (Mat< T, n_rows, n_cols, type > &m) |
|
| MatView (const T *const ptr) |
|
| MatView (const MatView &m) |
| Copy constructor.
|
|
MatView & | 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 index) const |
| Get the read only element by array row major index.
|
|
template<template< class, size_t, size_t, MatType, class... > typename M, typename... _unused, typename T2 , MatType type2, size_t rows_, size_t cols_> |
MatView & | 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> |
MatView & | 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> |
MatView & | 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 |
|
template<typename T, size_t n_rows, size_t n_cols,
MatType type>
class flames::MatView< T, n_rows, n_cols, type >
Read only view version of a matrix.
- Template Parameters
-
T | Element type. |
n_rows | Number of rows. |
n_cols | Number of columns. |
type | Matrix type. |