Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/xpr/Identity.h>
Inheritance diagram for tvmet::XprIdentity< T, Rows, Cols >:
This expression doesn't hold any other expression, it simply returns 1 or 0 depends where the row and column element excess is done.
Public Types | |
enum | { ops_assign = Rows * Cols, ops = ops_assign } |
Complexity counter. More... | |
typedef T | value_type |
Public Member Functions | |
XprIdentity & | operator= (const XprIdentity &) |
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 |
typedef T tvmet::XprIdentity< T, Rows, Cols >::value_type |
anonymous enum |
XprIdentity& tvmet::XprIdentity< T, Rows, Cols >::operator= | ( | const XprIdentity< T, Rows, Cols > & | ) |
value_type tvmet::XprIdentity< T, Rows, Cols >::operator() | ( | std::size_t | i, | |
std::size_t | j | |||
) | const [inline] |
access by index.
void tvmet::XprIdentity< T, Rows, Cols >::print_xpr | ( | std::ostream & | os, | |
std::size_t | l = 0 | |||
) | const [inline] |
Author: |