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

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

Definition at line 28 of file AmbiVector.h.

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

Definition at line 26 of file AmbiVector.h.

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

Definition at line 27 of file AmbiVector.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file AmbiVector.h.

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

Definition at line 52 of file AmbiVector.h.

Member Function Documentation

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

Definition at line 255 of file AmbiVector.h.

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

Definition at line 186 of file AmbiVector.h.

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

Definition at line 64 of file AmbiVector.h.

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

Definition at line 138 of file AmbiVector.h.

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

Definition at line 147 of file AmbiVector.h.

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

Definition at line 129 of file AmbiVector.h.

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

Definition at line 69 of file AmbiVector.h.

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

Definition at line 90 of file AmbiVector.h.

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

Definition at line 54 of file AmbiVector.h.

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 163 of file AmbiVector.h.

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.

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

Set all coefficients of current subvector to zero

Definition at line 170 of file AmbiVector.h.

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

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

Definition at line 118 of file AmbiVector.h.

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

Definition at line 117 of file AmbiVector.h.

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

Definition at line 112 of file AmbiVector.h.

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

Definition at line 116 of file AmbiVector.h.

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

Definition at line 123 of file AmbiVector.h.

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

Definition at line 124 of file AmbiVector.h.

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

Definition at line 122 of file AmbiVector.h.

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

Definition at line 119 of file AmbiVector.h.

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

Definition at line 114 of file AmbiVector.h.

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

Definition at line 115 of file AmbiVector.h.

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:


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:28