Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/Vector.h>
Inheritance diagram for tvmet::VectorConstReference< T, Sz >:
Public Types | |
enum | { Size = Sz } |
Dimensions. More... | |
enum | { ops = Size } |
Complexity counter. More... | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
Public Member Functions | |
VectorConstReference (const Vector< T, Size > &rhs) | |
Constructor. | |
VectorConstReference (const_pointer data) | |
Constructor by a given memory pointer. | |
value_type | operator() (std::size_t i) const |
access by index. | |
void | print_xpr (std::ostream &os, std::size_t l=0) const |
Private Member Functions | |
VectorConstReference () | |
VectorConstReference & | operator= (const VectorConstReference &) |
Private Attributes | |
const_pointer __restrict | m_data |
typedef T tvmet::VectorConstReference< T, Sz >::value_type |
typedef T* tvmet::VectorConstReference< T, Sz >::pointer |
typedef const T* tvmet::VectorConstReference< T, Sz >::const_pointer |
anonymous enum |
tvmet::VectorConstReference< T, Sz >::VectorConstReference | ( | ) | [private] |
tvmet::VectorConstReference< T, Sz >::VectorConstReference | ( | const Vector< T, Size > & | rhs | ) | [inline, explicit] |
Constructor.
tvmet::VectorConstReference< T, Sz >::VectorConstReference | ( | const_pointer | data | ) | [inline, explicit] |
Constructor by a given memory pointer.
VectorConstReference& tvmet::VectorConstReference< T, Sz >::operator= | ( | const VectorConstReference< T, Sz > & | ) | [private] |
value_type tvmet::VectorConstReference< T, Sz >::operator() | ( | std::size_t | i | ) | const [inline] |
access by index.
void tvmet::VectorConstReference< T, Sz >::print_xpr | ( | std::ostream & | os, | |
std::size_t | l = 0 | |||
) | const [inline] |
const_pointer __restrict tvmet::VectorConstReference< T, Sz >::m_data [private] |
Author: |