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