ICRS Eurobot 2013

Dependencies:   mbed mbed-rtos Servo QEI

Embed: (wiki syntax)

« Back to documentation index

XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > Class Template Reference

XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > Class Template Reference

Expression for matrix-matrix product. More...

#include <tvmet/xpr/MMtProduct.h>

Inherits TvmetBase< XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > >.

Public Types

enum  
 

Complexity counter.

More...

Public Member Functions

 XprMMtProduct (const E1 &lhs, const E2 &rhs)
 Constructor.
 XprMMtProduct (const XprMMtProduct &e)
 Copy Constructor.
value_type operator() (std::size_t i, std::size_t j) const
 index operator for arrays/matrices

Detailed Description

template<class E1, std::size_t Rows1, std::size_t Cols1, class E2, std::size_t Cols2>
class tvmet::XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 >

Expression for matrix-matrix product.

Using formula:

\[ M_1\,M_2^T \]

Note:
The number of cols of rhs matrix have to be equal to cols of rhs matrix. The result is a (Rows1 x Rows2) matrix.

Definition at line 45 of file MMtProduct.h.


Member Enumeration Documentation

anonymous enum

Complexity counter.

Definition at line 60 of file MMtProduct.h.


Constructor & Destructor Documentation

XprMMtProduct ( const E1 &  lhs,
const E2 &  rhs 
) [explicit]

Constructor.

Definition at line 74 of file MMtProduct.h.

XprMMtProduct ( const XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > &  e )

Copy Constructor.

Not explicit!

Definition at line 80 of file MMtProduct.h.


Member Function Documentation

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

index operator for arrays/matrices

Definition at line 102 of file MMtProduct.h.