N-Dimensional matrix with homogeneous coordinates.
More...
#include <h_mat.hh>
List of all members.
Public Types |
| enum | |
| enum | { N = d,
M = d,
dim = d * d
} |
| | Dimension is the 'natural' one (3 for 3D), not the one of the vector (dim + 1).
More...
|
| typedef Object< void > | category |
| typedef T | coord |
| typedef mat< n, m, T > | exact_t |
Public Member Functions |
| mat< n, m, T > | _1 () const |
| | Return the inverse of the matrix.
|
| | h_mat () |
| | Constructor without argument.
|
| | h_mat (const mat< d+1, d+1, T > &x) |
| | Constructor with the underlying matrix.
|
| T & | operator() (unsigned i, unsigned j) |
| const T & | operator() (unsigned i, unsigned j) const |
| void | set_all (const T &val) |
| unsigned | size () const |
| mat< m, n, T > | t () const |
| | Return the transpose of the matrix.
|
Static Public Member Functions |
| static mat | identity () |
Static Public Attributes |
| static const mat< n, m, T > | Id |
Detailed Description
template<unsigned d, typename T>
struct mln::algebra::h_mat< d, T >
N-Dimensional matrix with homogeneous coordinates.
Member Typedef Documentation
Member Enumeration Documentation
anonymous enum [inherited] |
template<unsigned d, typename T>
Dimension is the 'natural' one (3 for 3D), not the one of the vector (dim + 1).
- Enumerator:
-
Constructor & Destructor Documentation
template<unsigned d, typename T >
Constructor without argument.
template<unsigned d, typename T>
Constructor with the underlying matrix.
Member Function Documentation
Return the inverse of the matrix.
Only compile on square matrix.
| const T& mln::algebra::mat< n, m, T >::operator() |
( |
unsigned |
i, |
|
|
unsigned |
j | |
|
) |
| | const [inherited] |
Return the transpose of the matrix.
Member Data Documentation