This is the Tiny Vector Matrix Expression Templates library found at http://tvmet.sourceforge.net. It is the fastest and most compact matrix lib out there (for < 10x10 matricies). I have done some minor tweaks to make it compile for mbed. For examples and hints on how to use, see: http://tvmet.sourceforge.net/usage.html

Dependents:   Eurobot_2012_Secondary

Embed: (wiki syntax)

« Back to documentation index

XprMatrixTranspose< E > Class Template Reference

XprMatrixTranspose< E > Class Template Reference

Expression for transpose matrix. More...

#include <tvmet/xpr/MatrixTranspose.h>

Inherits TvmetBase< XprMatrixTranspose< E > >.

Public Types

enum  
 

Complexity counter.

More...

Public Member Functions

 XprMatrixTranspose (const E &e)
 Constructor.
 XprMatrixTranspose (const XprMatrixTranspose &e)
 Copy Constructor.
value_type operator() (std::size_t i, std::size_t j) const
 index operator for arrays/matrices.

Detailed Description

template<class E>
class tvmet::XprMatrixTranspose< E >

Expression for transpose matrix.

Definition at line 35 of file MatrixTranspose.h.


Member Enumeration Documentation

anonymous enum

Complexity counter.

Definition at line 45 of file MatrixTranspose.h.


Constructor & Destructor Documentation

XprMatrixTranspose ( const E &  e ) [explicit]

Constructor.

Definition at line 52 of file MatrixTranspose.h.

XprMatrixTranspose ( const XprMatrixTranspose< E > &  e )

Copy Constructor.

Not explicit!

Definition at line 58 of file MatrixTranspose.h.


Member Function Documentation

value_type operator() ( std::size_t  i,
std::size_t  j 
) const

index operator for arrays/matrices.

This simple swap the index access for transpose.

Definition at line 65 of file MatrixTranspose.h.