Main MRPT website > C++ reference
MRPT logo
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Eigen::AmbiVector Class Reference

List of all members.

Classes

class  Iterator
 Iterator over the nonzero coefficients. More...
struct  ListEl

Public Types

typedef _Scalar Scalar
typedef _Index Index
typedef NumTraits< Scalar >::Real RealScalar

Public Member Functions

 AmbiVector (Index size)
void init (double estimatedDensity)
void init (int mode)
Index nonZeros () const
void setBounds (Index start, Index end)
 Specifies a sub-vector to work on.
void setZero ()
 Set all coefficients of current subvector to zero.
void restart ()
 Must be called whenever we might perform a write access with an index smaller than the previous one.
ScalarcoeffRef (Index i)
Scalarcoeff (Index i)
 ~AmbiVector ()
void resize (Index size)
Index size () const

Protected Member Functions

void reallocate (Index size)
void reallocateSparse ()

Protected Attributes

Scalarm_buffer
Scalar m_zero
Index m_size
Index m_start
Index m_end
Index m_allocatedSize
Index m_allocatedElements
Index m_mode
Index m_llStart
Index m_llCurrent
Index m_llSize

Member Typedef Documentation

typedef _Index Eigen::AmbiVector::Index

Definition at line 39 of file Sparse.

Definition at line 40 of file Sparse.

typedef _Scalar Eigen::AmbiVector::Scalar

Definition at line 38 of file Sparse.


Constructor & Destructor Documentation

Eigen::AmbiVector::AmbiVector ( Index  size) [inline]

Definition at line 42 of file Sparse.

Eigen::AmbiVector::~AmbiVector ( ) [inline]

Definition at line 64 of file Sparse.


Member Function Documentation

_Scalar & Eigen::AmbiVector::coeff ( Index  i)

Definition at line 263 of file Sparse.

_Scalar & Eigen::AmbiVector::coeffRef ( Index  i)

Definition at line 194 of file Sparse.

void Eigen::AmbiVector::init ( double  estimatedDensity)

Definition at line 146 of file Sparse.

void Eigen::AmbiVector::init ( int  mode)

Definition at line 155 of file Sparse.

_Index Eigen::AmbiVector::nonZeros ( ) const
Returns:
the number of non zeros in the current sub vector

Definition at line 137 of file Sparse.

void Eigen::AmbiVector::reallocate ( Index  size) [inline, protected]

Definition at line 77 of file Sparse.

void Eigen::AmbiVector::reallocateSparse ( ) [inline, protected]

Definition at line 98 of file Sparse.

void Eigen::AmbiVector::resize ( Index  size) [inline]

Definition at line 66 of file Sparse.

void Eigen::AmbiVector::restart ( )

Must be called whenever we might perform a write access with an index smaller than the previous one.

Don't worry, this function is extremely cheap.

Definition at line 171 of file Sparse.

void Eigen::AmbiVector::setBounds ( Index  start,
Index  end 
) [inline]

Specifies a sub-vector to work on.

Definition at line 54 of file Sparse.

void Eigen::AmbiVector::setZero ( )

Set all coefficients of current subvector to zero.

Definition at line 178 of file Sparse.

Index Eigen::AmbiVector::size ( ) const [inline]

Definition at line 73 of file Sparse.


Member Data Documentation

Definition at line 126 of file Sparse.

Definition at line 125 of file Sparse.

Definition at line 120 of file Sparse.

Definition at line 124 of file Sparse.

Definition at line 131 of file Sparse.

Definition at line 132 of file Sparse.

Definition at line 130 of file Sparse.

Definition at line 127 of file Sparse.

Definition at line 122 of file Sparse.

Definition at line 123 of file Sparse.

Definition at line 121 of file Sparse.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011