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
XprIdentity< T, Rows, Cols > Class Template Reference
Expression for the identity matrix. More...
#include <tvmet/xpr/Identity.h>
Inherits TvmetBase< XprIdentity< T, Rows, Cols > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
value_type | operator() (std::size_t i, std::size_t j) const |
access by index. |
Detailed Description
template<class T, std::size_t Rows, std::size_t Cols>
class tvmet::XprIdentity< T, Rows, Cols >
Expression for the identity matrix.
This expression doesn't hold any other expression, it simply returns 1 or 0 depends where the row and column element excess is done.
- Since:
- release 1.6.0
- See also:
- identity
Definition at line 24 of file Identity.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 34 of file Identity.h.
Member Function Documentation
value_type operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
access by index.
Definition at line 41 of file Identity.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2