Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Eigen::internal::AmbiVector< _Scalar, _StorageIndex > Class Template Reference

#include <AmbiVector.h>

Classes

class  Iterator
 
struct  ListEl
 

Public Types

typedef NumTraits< Scalar >::Real RealScalar
 
typedef _Scalar Scalar
 
typedef _StorageIndex StorageIndex
 

Public Member Functions

 AmbiVector (Index size)
 
Scalarcoeff (Index i)
 
ScalarcoeffRef (Index i)
 
void init (double estimatedDensity)
 
void init (int mode)
 
Index nonZeros () const
 
void resize (Index size)
 
void restart ()
 
void setBounds (Index start, Index end)
 
void setZero ()
 
StorageIndex size () const
 
 ~AmbiVector ()
 

Protected Member Functions

StorageIndex convert_index (Index idx)
 
void reallocate (Index size)
 
void reallocateSparse ()
 

Protected Attributes

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

Detailed Description

template<typename _Scalar, typename _StorageIndex>
class Eigen::internal::AmbiVector< _Scalar, _StorageIndex >

Definition at line 23 of file AmbiVector.h.

Member Typedef Documentation

◆ RealScalar

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

Definition at line 28 of file AmbiVector.h.

◆ Scalar

template<typename _Scalar , typename _StorageIndex >
typedef _Scalar Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::Scalar

Definition at line 26 of file AmbiVector.h.

◆ StorageIndex

template<typename _Scalar , typename _StorageIndex >
typedef _StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::StorageIndex

Definition at line 27 of file AmbiVector.h.

Constructor & Destructor Documentation

◆ AmbiVector()

template<typename _Scalar , typename _StorageIndex >
Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::AmbiVector ( Index  size)
inlineexplicit

Definition at line 30 of file AmbiVector.h.

◆ ~AmbiVector()

template<typename _Scalar , typename _StorageIndex >
Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::~AmbiVector ( )
inline

Definition at line 52 of file AmbiVector.h.

Member Function Documentation

◆ coeff()

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

Definition at line 256 of file AmbiVector.h.

◆ coeffRef()

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

Definition at line 187 of file AmbiVector.h.

◆ convert_index()

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::convert_index ( Index  idx)
inlineprotected

Definition at line 64 of file AmbiVector.h.

◆ init() [1/2]

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

Definition at line 138 of file AmbiVector.h.

◆ init() [2/2]

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

Definition at line 147 of file AmbiVector.h.

◆ nonZeros()

template<typename _Scalar , typename _StorageIndex >
Index Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::nonZeros
Returns
the number of non zeros in the current sub vector

Definition at line 129 of file AmbiVector.h.

◆ reallocate()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::reallocate ( Index  size)
inlineprotected

Definition at line 69 of file AmbiVector.h.

◆ reallocateSparse()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::reallocateSparse ( )
inlineprotected

Definition at line 90 of file AmbiVector.h.

◆ resize()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::resize ( Index  size)
inline

Definition at line 54 of file AmbiVector.h.

◆ restart()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::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 164 of file AmbiVector.h.

◆ setBounds()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::setBounds ( Index  start,
Index  end 
)
inline

Specifies a sub-vector to work on

Definition at line 42 of file AmbiVector.h.

◆ setZero()

template<typename _Scalar , typename _StorageIndex >
void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::setZero

Set all coefficients of current subvector to zero

Definition at line 171 of file AmbiVector.h.

◆ size()

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::size ( ) const
inline

Definition at line 61 of file AmbiVector.h.

Member Data Documentation

◆ m_allocatedElements

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_allocatedElements
protected

Definition at line 118 of file AmbiVector.h.

◆ m_allocatedSize

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_allocatedSize
protected

Definition at line 117 of file AmbiVector.h.

◆ m_buffer

template<typename _Scalar , typename _StorageIndex >
Scalar* Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_buffer
protected

Definition at line 112 of file AmbiVector.h.

◆ m_end

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_end
protected

Definition at line 116 of file AmbiVector.h.

◆ m_llCurrent

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_llCurrent
protected

Definition at line 123 of file AmbiVector.h.

◆ m_llSize

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_llSize
protected

Definition at line 124 of file AmbiVector.h.

◆ m_llStart

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_llStart
protected

Definition at line 122 of file AmbiVector.h.

◆ m_mode

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_mode
protected

Definition at line 119 of file AmbiVector.h.

◆ m_size

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_size
protected

Definition at line 114 of file AmbiVector.h.

◆ m_start

template<typename _Scalar , typename _StorageIndex >
StorageIndex Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_start
protected

Definition at line 115 of file AmbiVector.h.

◆ m_zero

template<typename _Scalar , typename _StorageIndex >
Scalar Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::m_zero
protected

Definition at line 113 of file AmbiVector.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:12:56