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
Matrix< Rows, Cols, M, N > Class Template Reference
Meta Matrix class using expression and meta templates. More...
#include <tvmet/meta/Matrix.h>
Static Public Member Functions | |
template<class Dest , class Src , class Assign > | |
static void | assign2 (Dest &lhs, const Src &rhs, const Assign &assign_fn) |
assign an expression on columns on given row using the functional assign_fn. | |
template<class Dest , class Src , class Assign > | |
static void | assign (Dest &lhs, const Src &rhs, const Assign &assign_fn) |
assign an expression on row-wise using the functional assign_fn. | |
template<class E > | |
static bool | all_elements2 (const E &e) |
evaluate a given matrix expression, column wise. | |
template<class E > | |
static bool | all_elements (const E &e) |
evaluate a given matrix expression, row wise. | |
template<class E > | |
static bool | any_elements2 (const E &e) |
evaluate a given matrix expression, column wise. | |
template<class E > | |
static bool | any_elements (const E &e) |
evaluate a given matrix expression, row wise. | |
template<class E > | |
static E::value_type | trace (const E &e) |
trace a given matrix expression. |
Detailed Description
template<std::size_t Rows, std::size_t Cols, std::size_t M = 0, std::size_t N = 0>
class tvmet::meta::Matrix< Rows, Cols, M, N >
Meta Matrix class using expression and meta templates.
, 0, 0> Matrix.h "tvmet/meta/Matrix.h"
Meta Matrix specialized for recursion.
Definition at line 41 of file meta/Matrix.h.
Member Function Documentation
static bool all_elements | ( | const E & | e ) | [static] |
evaluate a given matrix expression, row wise.
Definition at line 85 of file meta/Matrix.h.
static bool all_elements2 | ( | const E & | e ) | [static] |
evaluate a given matrix expression, column wise.
Definition at line 76 of file meta/Matrix.h.
static bool any_elements | ( | const E & | e ) | [static] |
evaluate a given matrix expression, row wise.
Definition at line 103 of file meta/Matrix.h.
static bool any_elements2 | ( | const E & | e ) | [static] |
evaluate a given matrix expression, column wise.
Definition at line 94 of file meta/Matrix.h.
static void assign | ( | Dest & | lhs, |
const Src & | rhs, | ||
const Assign & | assign_fn | ||
) | [static] |
assign an expression on row-wise using the functional assign_fn.
Definition at line 66 of file meta/Matrix.h.
static void assign2 | ( | Dest & | lhs, |
const Src & | rhs, | ||
const Assign & | assign_fn | ||
) | [static] |
assign an expression on columns on given row using the functional assign_fn.
Definition at line 57 of file meta/Matrix.h.
static E::value_type trace | ( | const E & | e ) | [static] |
trace a given matrix expression.
Definition at line 113 of file meta/Matrix.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2