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

#include <dmatrix.h>

Public Member Functions

int columns () const
 
const X det () const
 
void detach ()
 
 DMatrix (const DMatrix &)
 
 DMatrix (int n=0, int m=0)
 
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 &)
 
Xoperator[] (int i)
 
const Xoperator[] (int i) const
 
int rows () const
 
DMatrix transpose () const
 
 ~DMatrix ()
 

Static Public Member Functions

static DMatrix I (int)
 

Protected Attributes

Xelems
 
X ** mrows
 
int ncols
 
int nrows
 
intshares
 

Detailed Description

template<class X>
class DMatrix< X >

Definition at line 46 of file dmatrix.h.

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

◆ 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.h.

◆ operator[]() [2/2]

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

Definition at line 59 of file dmatrix.h.

◆ rows()

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

Definition at line 69 of file dmatrix.h.

◆ 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.h.

◆ mrows

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

Definition at line 79 of file dmatrix.h.

◆ ncols

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

Definition at line 78 of file dmatrix.h.

◆ nrows

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

Definition at line 78 of file dmatrix.h.

◆ shares

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

Definition at line 81 of file dmatrix.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26