|
|
Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/Matrix.h>
Inheritance diagram for tvmet::MatrixConstReference< T, NRows, NCols >:


Public Types | |
| enum | { Rows = NRows, Cols = NCols, Size = Rows * Cols } |
| Dimensions. More... | |
| enum | { ops = Rows * Cols } |
| Complexity counter. More... | |
| typedef T | value_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
Public Member Functions | |
| MatrixConstReference (const Matrix< T, Rows, Cols > &rhs) | |
| Constructor. | |
| MatrixConstReference (const_pointer data) | |
| Constructor by a given memory pointer. | |
| value_type | operator() (std::size_t i, std::size_t j) const |
| access by index. | |
| void | print_xpr (std::ostream &os, std::size_t l=0) const |
Private Member Functions | |
| MatrixConstReference () | |
| MatrixConstReference & | operator= (const MatrixConstReference &) |
Private Attributes | |
| const_pointer __restrict | m_data |
| typedef T tvmet::MatrixConstReference< T, NRows, NCols >::value_type |
| typedef T* tvmet::MatrixConstReference< T, NRows, NCols >::pointer |
| typedef const T* tvmet::MatrixConstReference< T, NRows, NCols >::const_pointer |
| anonymous enum |
| anonymous enum |
| tvmet::MatrixConstReference< T, NRows, NCols >::MatrixConstReference | ( | ) | [private] |
| tvmet::MatrixConstReference< T, NRows, NCols >::MatrixConstReference | ( | const Matrix< T, Rows, Cols > & | rhs | ) | [inline, explicit] |
Constructor.
| tvmet::MatrixConstReference< T, NRows, NCols >::MatrixConstReference | ( | const_pointer | data | ) | [inline, explicit] |
Constructor by a given memory pointer.
| MatrixConstReference& tvmet::MatrixConstReference< T, NRows, NCols >::operator= | ( | const MatrixConstReference< T, NRows, NCols > & | ) | [private] |
| value_type tvmet::MatrixConstReference< T, NRows, NCols >::operator() | ( | std::size_t | i, | |
| std::size_t | j | |||
| ) | const [inline] |
access by index.
| void tvmet::MatrixConstReference< T, NRows, NCols >::print_xpr | ( | std::ostream & | os, | |
| std::size_t | l = 0 | |||
| ) | const [inline] |
const_pointer __restrict tvmet::MatrixConstReference< T, NRows, NCols >::m_data [private] |
|
Author: |