Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DMatrix< X > Class Template Reference

#include <dmatrix.hh>

Public Member Functions

int columns () const
 
const X det () const
 
void detach ()
 
 DMatrix (int n=0, int m=0)
 
 DMatrix (const DMatrix &)
 
DMatrix inv () const
 
DMatrix operator* (const DMatrix &) const
 
DMatrix operator* (const X &) const
 
DMatrix operator+ (const DMatrix &) const
 
DMatrix operator- (const DMatrix &) const
 
DMatrixoperator= (const DMatrix &)
 
X * operator[] (int i)
 
const X * operator[] (int i) const
 
int rows () const
 
DMatrix transpose () const
 
 ~DMatrix ()
 

Static Public Member Functions

static DMatrix I (int)
 

Protected Attributes

X * elems
 
X ** mrows
 
int ncols
 
int nrows
 
int * shares
 

Detailed Description

template<class X>
class DMatrix< X >

Definition at line 46 of file dmatrix.hh.

Constructor & Destructor Documentation

template<class X>
DMatrix< X >::DMatrix ( int  n = 0,
int  m = 0 
)
template<class X>
DMatrix< X >::~DMatrix ( )
template<class X>
DMatrix< X >::DMatrix ( const DMatrix< X > &  )

Member Function Documentation

template<class X>
int DMatrix< X >::columns ( ) const
inline

Definition at line 70 of file dmatrix.hh.

template<class X>
const X DMatrix< X >::det ( ) const
template<class X>
void DMatrix< X >::detach ( )
template<class X>
static DMatrix DMatrix< X >::I ( int  )
static
template<class X>
DMatrix DMatrix< X >::inv ( ) const
template<class X>
DMatrix DMatrix< X >::operator* ( const DMatrix< X > &  ) const
template<class X>
DMatrix DMatrix< X >::operator* ( const X &  ) const
template<class X>
DMatrix DMatrix< X >::operator+ ( const DMatrix< X > &  ) const
template<class X>
DMatrix DMatrix< X >::operator- ( const DMatrix< X > &  ) const
template<class X>
DMatrix& DMatrix< X >::operator= ( const DMatrix< X > &  )
template<class X>
X* DMatrix< X >::operator[] ( int  i)
inline

Definition at line 54 of file dmatrix.hh.

template<class X>
const X* DMatrix< X >::operator[] ( int  i) const
inline

Definition at line 59 of file dmatrix.hh.

template<class X>
int DMatrix< X >::rows ( ) const
inline

Definition at line 69 of file dmatrix.hh.

template<class X>
DMatrix DMatrix< X >::transpose ( ) const

Member Data Documentation

template<class X>
X* DMatrix< X >::elems
protected

Definition at line 77 of file dmatrix.hh.

template<class X>
X** DMatrix< X >::mrows
protected

Definition at line 79 of file dmatrix.hh.

template<class X>
int DMatrix< X >::ncols
protected

Definition at line 78 of file dmatrix.hh.

template<class X>
int DMatrix< X >::nrows
protected

Definition at line 78 of file dmatrix.hh.

template<class X>
int* DMatrix< X >::shares
protected

Definition at line 81 of file dmatrix.hh.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08