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

#include <dmatrix.hh>

Public Member Functions

void detach ()
 
int dim () const
 
 DVector (int n=0)
 
 DVector (const DVector &)
 
operator* (const DVector &) const
 
DVector operator* (const X &) const
 
DVector operator+ (const DVector &) const
 
DVector operator- (const DVector &) const
 
DVectoroperator= (const DVector &)
 
X & operator[] (int i)
 
const X & operator[] (int i) const
 
 ~DVector ()
 

Static Public Member Functions

static DVector< X > I (int)
 

Protected Attributes

X * elems
 
int * shares
 
int size
 

Detailed Description

template<class X>
struct DVector< X >

Definition at line 12 of file dmatrix.hh.

Constructor & Destructor Documentation

template<class X>
DVector< X >::DVector ( int  n = 0)
template<class X>
DVector< X >::~DVector ( )
template<class X>
DVector< X >::DVector ( const DVector< X > &  )

Member Function Documentation

template<class X>
void DVector< X >::detach ( )
template<class X>
int DVector< X >::dim ( ) const
inline

Definition at line 32 of file dmatrix.hh.

template<class X>
static DVector<X> DVector< X >::I ( int  )
static
template<class X>
X DVector< X >::operator* ( const DVector< X > &  ) const
template<class X>
DVector DVector< X >::operator* ( const X &  ) const
template<class X>
DVector DVector< X >::operator+ ( const DVector< X > &  ) const
template<class X>
DVector DVector< X >::operator- ( const DVector< X > &  ) const
template<class X>
DVector& DVector< X >::operator= ( const DVector< X > &  )
template<class X>
X& DVector< X >::operator[] ( int  i)
inline

Definition at line 20 of file dmatrix.hh.

template<class X>
const X& DVector< X >::operator[] ( int  i) const
inline

Definition at line 25 of file dmatrix.hh.

Member Data Documentation

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

Definition at line 39 of file dmatrix.hh.

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

Definition at line 41 of file dmatrix.hh.

template<class X>
int DVector< X >::size
protected

Definition at line 40 of file dmatrix.hh.


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


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