fmatvec 0.0.0

Public Types | Public Member Functions | List of all members
fmatvec::Matrix< Rotation, Fixed< M >, Fixed< M >, AT > Class Template Reference

`#include <fixed_general_matrix.h>`

Inheritance diagram for fmatvec::Matrix< Rotation, Fixed< M >, Fixed< M >, AT >:
[legend]

## Public Types

using | value_type = AT
using | shape_type = Rotation
Public Types inherited from fmatvec::Matrix< General, Fixed< M >, Fixed< M >, AT >
using | value_type = AT
using | shape_type = General

## Public Member Functions

| Matrix (Noinit ini)
| Matrix (Init ini=INIT, const AT &a=0)
| Matrix (Eye ini, const AT &a=1)
| Matrix (int m, int n)
| Matrix (int m, int n, Noinit ini)
| Matrix (int m, int n, Init ini, const AT &a=0)
| Matrix (int m, int n, Eye ini, const AT &a=1)
| Matrix (const Matrix< Rotation, Fixed< M >, Fixed< M >, AT > &A)=default
| Matrix (const Matrix< General, Fixed< M >, Fixed< M >, AT > &A)
template<class Row >
| Matrix (const Matrix< Symmetric, Row, Row, AT > &A)
template<class Type , class Row , class Col >
| Matrix (const Matrix< Type, Row, Col, AT > &A)
| Matrix (const std::vector< std::vector< AT >> &m)
const Matrix< Rotation, Fixed< M >, Fixed< M >, AT > | T () const
Public Member Functions inherited from fmatvec::Matrix< General, Fixed< M >, Fixed< M >, AT >
AT & | operator() (int i, int j)
| Standard constructor. More...
const AT & | operator() (int i, int j) const
| Element operator. More...
AT & | e (int i, int j)
const AT & | e (int i, int j) const
int | rows () const
| Number of rows. More...
int | cols () const
| Number of columns. More...
| operator std::vector< std::vector< AT >> () const
| Cast to std::vector<std::vector<AT>>. More...

## Additional Inherited Members

Static Public Attributes inherited from fmatvec::Matrix< General, Fixed< M >, Fixed< M >, AT >
static constexpr bool | isVector

## Detailed Description

### template<int M, class AT>
class fmatvec::Matrix< Rotation, Fixed< M >, Fixed< M >, AT >

A matrix representing a rotation matrix. This class is simply derived from general square matrix from which all member are inherited. We must use this to be able to distinguish it from a general square matrix at compile time. The constructors of general matrix are redefined here since these are not inherited. Moreover we can overload some member functions here which capitalize the special properties of rotation matrices, link "RotMat inv() { return trans(*this); }."

The documentation for this class was generated from the following file:

- /mbsim-env/fmatvec/fmatvec/fixed_general_matrix.h