EEROS
1.0.0.0
API for the EEROS Real-Time Robotics Framework
|
#include <Matrix.hpp>
Classes | |
class | MatrixInitializer |
Public Types | |
using | value_type = T |
Public Member Functions | |
Matrix () | |
Matrix (const T v) | |
template<typename... S> | |
Matrix (const S...v) | |
void | zero () |
void | eye () |
void | fill (T v) |
void | rotx (double angle) |
void | roty (double angle) |
void | rotz (double angle) |
MatrixInitializer< M, N, T > | operator<< (T right) |
const T | get (unsigned int m, unsigned int n) const |
Matrix< M, 1, T > | getCol (unsigned int n) const |
std::vector< T > | getColVector (unsigned int n) const |
Matrix< 1, N, T > | getRow (unsigned int m) const |
std::vector< T > | getRowVector (unsigned int m) const |
template<unsigned int U, unsigned int V> | |
Matrix< U, V, T > | getSubMatrix (unsigned int m, unsigned int n) const |
void | set (unsigned int m, unsigned int n, T value) |
void | setCol (unsigned int n, const Matrix< M, 1, T > &col) |
void | setCol (unsigned int n, const std::vector< T > &col) |
void | setRow (unsigned int m, const Matrix< 1, N, T > &row) |
void | setRow (unsigned int m, const std::vector< T > &col) |
T & | operator() (unsigned int m, unsigned int n) |
const T | operator() (unsigned int m, unsigned int n) const |
T & | operator() (unsigned int i) |
const T | operator() (unsigned int i) const |
T & | operator[] (unsigned int i) |
const T | operator[] (unsigned int i) const |
constexpr bool | isSquare () const |
bool | isOrthogonal () const |
bool | isSymmetric () const |
bool | isDiagonal () const |
bool | isLowerTriangular () const |
bool | isUpperTriangular () const |
bool | isInvertible () const |
constexpr unsigned int | getNofRows () const |
constexpr unsigned int | getNofColums () const |
constexpr unsigned int | size () const |
unsigned int | rank () const |
T | det () const |
T | trace () const |
Matrix< N, M, T > | transpose () const |
bool | operator== (const Matrix< M, N, T > &right) const |
bool | operator!= (const Matrix< M, N, T > &right) const |
bool | operator< (const Matrix< M, N, T > &right) const |
bool | operator<= (const Matrix< M, N, T > &right) const |
bool | operator> (const Matrix< M, N, T > &right) const |
bool | operator>= (const Matrix< M, N, T > &right) const |
Matrix< M, N, T > & | operator= (T right) |
template<unsigned int K> | |
Matrix< M, K, T > | operator* (const Matrix< N, K, T > right) const |
Matrix< M, N, T > | operator* (T right) const |
Matrix< M, N, T > | multiplyElementWise (const Matrix< M, N, T > right) const |
Matrix< M, N, T > | operator+ (const Matrix< M, N, T > right) const |
Matrix< M, N, T > | operator+ (const T right) const |
Matrix< M, N, T > & | operator+= (const Matrix< M, N, T > right) |
Matrix< M, N, T > | operator- (const Matrix< M, N, T > right) const |
Matrix< M, N, T > | operator- (const T right) const |
Matrix< M, N, T > & | operator-= (const Matrix< M, N, T > right) |
Matrix< M, N, T > | operator- () |
Matrix< M, N, T > | operator/ (T right) const |
Matrix< M, N, T > | operator! () const |
T | norm () const |
void | gaussRowElimination () |
void | sortForGaussAlgorithm () |
void | swapRows (unsigned int rowA, unsigned int rowB) |
Static Public Member Functions | |
static Matrix< M, N, T > | createRotX (double angle) |
static Matrix< M, N, T > | createRotY (double angle) |
static Matrix< M, N, T > | createRotZ (double angle) |
static Matrix< 2, 1, T > | createVector2 (T x, T y) |
static Matrix< 3, 1, T > | createVector3 (T x, T y, T z) |
static Matrix< M, N, T > | createDiag (T v) |
static Matrix< 3, 3, T > | createSkewSymmetric (Matrix< 3, 1, T > a) |
static Matrix< 3, 1, T > | crossProduct (Matrix< 3, 1, T > a, Matrix< 3, 1, T > b) |
Protected Attributes | |
T | value [M *N] |
using eeros::math::Matrix< M, N, T >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
Compares this matrix to another matrix.
right | This matrix is compared to right. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |