Module const_matrix::matrix[][src]

Expand description

Basic arithmetic for compile-time-sized matrices either allocated on the stack (SMatrix) or on the heap (HMatrix) using const generics. Both matrix types are fully interoperable with each other.

Structs

A matrix which is allocated on the heap.

MF is the Matrix Factory used for the creation of new matrices.

A matrix which is allocated on the stack. An SMatrix is itself Numeric, so that its elements can also be other stack-allocated matrices which theoretically could contain SMatrices themselves up to arbitrarily deep finite nesting levels..

Traits

All types for which the operators +, +=, *, *=, - (unary negation), - (binary minus) and -= are defined and where the output type of +=, *= and -= is T again.

All types which are Copy and Default in addition to being Arithmetic.