Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/xpr/MatrixDiag.h>
Inheritance diagram for tvmet::XprMatrixDiag< E, Sz >:
Public Types | |
enum | { ops_expr = E::ops, ops = ops_expr/Sz } |
Complexity counter. More... | |
typedef E::value_type | value_type |
Public Member Functions | |
XprMatrixDiag (const E &e) | |
Constructor. | |
value_type | operator() (std::size_t i) const |
index operator for arrays/matrizes | |
void | print_xpr (std::ostream &os, std::size_t l=0) const |
Private Member Functions | |
XprMatrixDiag () | |
XprMatrixDiag & | operator= (const XprMatrixDiag< E, Sz > &) |
Private Attributes | |
const E | m_expr |
typedef E::value_type tvmet::XprMatrixDiag< E, Sz >::value_type |
tvmet::XprMatrixDiag< E, Sz >::XprMatrixDiag | ( | ) | [private] |
tvmet::XprMatrixDiag< E, Sz >::XprMatrixDiag | ( | const E & | e | ) | [inline, explicit] |
Constructor.
XprMatrixDiag& tvmet::XprMatrixDiag< E, Sz >::operator= | ( | const XprMatrixDiag< E, Sz > & | ) | [private] |
value_type tvmet::XprMatrixDiag< E, Sz >::operator() | ( | std::size_t | i | ) | const [inline] |
index operator for arrays/matrizes
void tvmet::XprMatrixDiag< E, Sz >::print_xpr | ( | std::ostream & | os, | |
std::size_t | l = 0 | |||
) | const [inline] |
const E tvmet::XprMatrixDiag< E, Sz >::m_expr [private] |
Author: |