Public Types | Public Member Functions

mln::algebra::h_mat< d, T > Struct Template Reference

N-Dimensional matrix with homogeneous coordinates. More...

#include <h_mat.hh>

Inherits mln::algebra::mat< d+1, d+1, T >.

List of all members.

Public Types

enum  
 

Dimension is the 'natural' one (3 for 3D), not the one of the vector (dim + 1).

More...

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.
mat< m, n, T > t () const
 Return the transpose of the matrix.

Detailed Description

template<unsigned d, typename T>
struct mln::algebra::h_mat< d, T >

N-Dimensional matrix with homogeneous coordinates.

Definition at line 49 of file algebra/h_mat.hh.


Member Enumeration Documentation

template<unsigned d, typename T>
anonymous enum

Dimension is the 'natural' one (3 for 3D), not the one of the vector (dim + 1).

Definition at line 52 of file algebra/h_mat.hh.


Constructor & Destructor Documentation

template<unsigned d, typename T >
mln::algebra::h_mat< d, T >::h_mat (  )  [inline]

Constructor without argument.

Definition at line 67 of file algebra/h_mat.hh.

template<unsigned d, typename T >
mln::algebra::h_mat< d, T >::h_mat ( const mat< d+1, d+1, T > &  x  )  [inline]

Constructor with the underlying matrix.

Definition at line 74 of file algebra/h_mat.hh.


Member Function Documentation

template<unsigned n, unsigned m, typename T >
mat< n, m, T > mln::algebra::mat< n, m, T >::_1 (  )  const [inline, inherited]

Return the inverse of the matrix.

Only compile on square matrix.

Definition at line 604 of file algebra/mat.hh.

template<unsigned n, unsigned m, typename T >
mat< m, n, T > mln::algebra::mat< n, m, T >::t (  )  const [inline, inherited]

Return the transpose of the matrix.

Definition at line 538 of file algebra/mat.hh.