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

◆ DMatrix() [1/2]

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

◆ ~DMatrix()

template<class X>
DMatrix< X >::~DMatrix ( )

◆ DMatrix() [2/2]

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

Member Function Documentation

◆ columns()

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

Definition at line 70 of file dmatrix.hh.

◆ det()

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

◆ detach()

template<class X>
void DMatrix< X >::detach ( )

◆ I()

template<class X>
static DMatrix DMatrix< X >::I ( int  )
static

◆ inv()

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

◆ operator*() [1/2]

template<class X>
DMatrix DMatrix< X >::operator* ( const DMatrix< X > &  ) const

◆ operator*() [2/2]

template<class X>
DMatrix DMatrix< X >::operator* ( const X &  ) const

◆ operator+()

template<class X>
DMatrix DMatrix< X >::operator+ ( const DMatrix< X > &  ) const

◆ operator-()

template<class X>
DMatrix DMatrix< X >::operator- ( const DMatrix< X > &  ) const

◆ operator=()

template<class X>
DMatrix& DMatrix< X >::operator= ( const DMatrix< X > &  )

◆ operator[]() [1/2]

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

Definition at line 54 of file dmatrix.hh.

◆ operator[]() [2/2]

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

Definition at line 59 of file dmatrix.hh.

◆ rows()

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

Definition at line 69 of file dmatrix.hh.

◆ transpose()

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

Member Data Documentation

◆ elems

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

Definition at line 77 of file dmatrix.hh.

◆ mrows

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

Definition at line 79 of file dmatrix.hh.

◆ ncols

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

Definition at line 78 of file dmatrix.hh.

◆ nrows

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

Definition at line 78 of file dmatrix.hh.

◆ shares

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 Jan 23 2023 03:38:59