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

Detailed Description

template<typename _Scalar, typename _Index>
class Eigen::AmbiVector< _Scalar, _Index >

Definition at line 35 of file Sparse.

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

template<typename _Scalar , typename _Index >
typedef _Index Eigen::AmbiVector< _Scalar, _Index >::Index

Definition at line 39 of file Sparse.

template<typename _Scalar , typename _Index >
typedef NumTraits<Scalar>::Real Eigen::AmbiVector< _Scalar, _Index >::RealScalar

Definition at line 40 of file Sparse.

template<typename _Scalar , typename _Index >
typedef _Scalar Eigen::AmbiVector< _Scalar, _Index >::Scalar

Definition at line 38 of file Sparse.


Constructor & Destructor Documentation

template<typename _Scalar , typename _Index >
Eigen::AmbiVector< _Scalar, _Index >::AmbiVector ( Index  size) [inline]

Definition at line 42 of file Sparse.

template<typename _Scalar , typename _Index >
Eigen::AmbiVector< _Scalar, _Index >::~AmbiVector ( ) [inline]

Definition at line 64 of file Sparse.


Member Function Documentation

template<typename _Scalar , typename _Index >
_Scalar & Eigen::AmbiVector< _Scalar, _Index >::coeff ( Index  i)

Definition at line 263 of file Sparse.

template<typename _Scalar , typename _Index >
_Scalar & Eigen::AmbiVector< _Scalar, _Index >::coeffRef ( Index  i)

Definition at line 194 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::init ( int  mode)

Definition at line 155 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::init ( double  estimatedDensity)

Definition at line 146 of file Sparse.

template<typename _Scalar , typename _Index >
_Index Eigen::AmbiVector< _Scalar, _Index >::nonZeros ( ) const
Returns:
the number of non zeros in the current sub vector

Definition at line 137 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::reallocate ( Index  size) [inline, protected]

Definition at line 77 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::reallocateSparse ( ) [inline, protected]

Definition at line 98 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::resize ( Index  size) [inline]

Definition at line 66 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::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.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::setBounds ( Index  start,
Index  end 
) [inline]

Specifies a sub-vector to work on.

Definition at line 54 of file Sparse.

template<typename _Scalar , typename _Index >
void Eigen::AmbiVector< _Scalar, _Index >::setZero ( )

Set all coefficients of current subvector to zero.

Definition at line 178 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::size ( ) const [inline]

Definition at line 73 of file Sparse.


Member Data Documentation

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_allocatedElements [protected]

Definition at line 126 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_allocatedSize [protected]

Definition at line 125 of file Sparse.

template<typename _Scalar , typename _Index >
Scalar* Eigen::AmbiVector< _Scalar, _Index >::m_buffer [protected]

Definition at line 120 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_end [protected]

Definition at line 124 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_llCurrent [protected]

Definition at line 131 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_llSize [protected]

Definition at line 132 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_llStart [protected]

Definition at line 130 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_mode [protected]

Definition at line 127 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_size [protected]

Definition at line 122 of file Sparse.

template<typename _Scalar , typename _Index >
Index Eigen::AmbiVector< _Scalar, _Index >::m_start [protected]

Definition at line 123 of file Sparse.

template<typename _Scalar , typename _Index >
Scalar Eigen::AmbiVector< _Scalar, _Index >::m_zero [protected]

Definition at line 121 of file Sparse.




Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo