Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Eurobot_2012_Secondary by
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 21:02:14 by
