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

#include <dmatrix.h>

Public Member Functions

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

Static Public Member Functions

static DVector< XI (int)
 

Protected Attributes

Xelems
 
intshares
 
int size
 

Detailed Description

template<class X>
struct DVector< X >

Definition at line 12 of file dmatrix.h.

Constructor & Destructor Documentation

◆ DVector() [1/2]

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

◆ ~DVector()

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

◆ DVector() [2/2]

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

Member Function Documentation

◆ detach()

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

◆ dim()

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

Definition at line 32 of file dmatrix.h.

◆ I()

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

◆ operator*() [1/2]

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

◆ operator*() [2/2]

template<class X >
DVector DVector< X >::operator* ( const X ) const

◆ operator+()

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

◆ operator-()

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

◆ operator=()

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

◆ operator[]() [1/2]

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

Definition at line 20 of file dmatrix.h.

◆ operator[]() [2/2]

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

Definition at line 25 of file dmatrix.h.

Member Data Documentation

◆ elems

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

Definition at line 39 of file dmatrix.h.

◆ shares

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

Definition at line 41 of file dmatrix.h.

◆ size

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

Definition at line 40 of file dmatrix.h.


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


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