Cortex
10.0.0-a4
|
#include <MatrixTraits.h>
Public Types | |
typedef float | BaseType |
Static Public Member Functions | |
static unsigned int | dimensions () |
static BaseType | get (const T &v, unsigned int i, unsigned int j) |
static void | set (T &v, unsigned int i, unsigned int j, BaseType x) |
The MatrixTraits struct provides a means of using different matrix classes within templated code. It provides the basis for the functions in MatrixOps.h, which provide common matrix operations using the underlying MatrixTraits classes. To add support for a new matrix class simply specialise the struct appropriately for that type.