This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Embed: (wiki syntax)

« Back to documentation index

XprMVProduct< E1, Rows, Cols, E2 > Class Template Reference

XprMVProduct< E1, Rows, Cols, E2 > Class Template Reference

Expression for matrix-vector product using formula

\[ M\,v \]

. More...

#include <tvmet/xpr/MVProduct.h>

Inherits TvmetBase< XprMVProduct< E1, Rows, Cols, E2 > >.

Public Types

enum  
 

Complexity counter.

More...

Public Member Functions

 XprMVProduct (const E1 &lhs, const E2 &rhs)
 Constructor.
 XprMVProduct (const XprMVProduct &e)
 Copy Constructor.
value_type operator() (std::size_t j) const
 index operator, returns the expression by index.

Detailed Description

template<class E1, std::size_t Rows, std::size_t Cols, class E2>
class tvmet::XprMVProduct< E1, Rows, Cols, E2 >

Expression for matrix-vector product using formula

\[ M\,v \]

.

Definition at line 43 of file MVProduct.h.


Member Enumeration Documentation

anonymous enum

Complexity counter.

Definition at line 57 of file MVProduct.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 70 of file MVProduct.h.

XprMVProduct ( const XprMVProduct< E1, Rows, Cols, E2 > &  e )

Copy Constructor.

Not explicit!

Definition at line 76 of file MVProduct.h.


Member Function Documentation

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

index operator, returns the expression by index.

This is the vector style since a matrix*vector gives a vector.

Definition at line 98 of file MVProduct.h.