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

#include <AmbiVector.h>

Classes

class  Iterator
 
struct  ListEl
 

Public Types

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

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 ()
 
Index size () const
 
 ~AmbiVector ()
 

Protected Member Functions

void reallocate (Index size)
 
void reallocateSparse ()
 

Protected Attributes

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

Detailed Description

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

Definition at line 23 of file AmbiVector.h.

Member Typedef Documentation

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

Definition at line 27 of file AmbiVector.h.

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

Definition at line 28 of file AmbiVector.h.

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

Definition at line 26 of file AmbiVector.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file AmbiVector.h.

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

Definition at line 52 of file AmbiVector.h.

Member Function Documentation

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

Definition at line 251 of file AmbiVector.h.

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

Definition at line 182 of file AmbiVector.h.

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

Definition at line 134 of file AmbiVector.h.

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

Definition at line 143 of file AmbiVector.h.

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

Definition at line 125 of file AmbiVector.h.

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

Definition at line 65 of file AmbiVector.h.

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

Definition at line 86 of file AmbiVector.h.

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

Definition at line 54 of file AmbiVector.h.

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

template<typename _Scalar , typename _Index >
void Eigen::internal::AmbiVector< _Scalar, _Index >::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 _Index >
void Eigen::internal::AmbiVector< _Scalar, _Index >::setZero ( )

Set all coefficients of current subvector to zero

Definition at line 166 of file AmbiVector.h.

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

Definition at line 61 of file AmbiVector.h.

Member Data Documentation

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

Definition at line 114 of file AmbiVector.h.

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

Definition at line 113 of file AmbiVector.h.

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

Definition at line 108 of file AmbiVector.h.

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

Definition at line 112 of file AmbiVector.h.

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

Definition at line 119 of file AmbiVector.h.

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

Definition at line 120 of file AmbiVector.h.

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

Definition at line 118 of file AmbiVector.h.

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

Definition at line 115 of file AmbiVector.h.

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

Definition at line 110 of file AmbiVector.h.

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

Definition at line 111 of file AmbiVector.h.

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

Definition at line 109 of file AmbiVector.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:43