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 (const mat< d+1, d+1, T > &x)
 Constructor with the underlying matrix.
 h_mat ()
 Constructor without argument.
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.


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).


Constructor & Destructor Documentation

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

Constructor without argument.

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.


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.

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.


Generated on Tue Jul 14 16:32:49 2009 for Milena (Olena) by  doxygen 1.5.9