#include <AmbiVector.h>
Classes | |
| class | Iterator |
| struct | ListEl |
Public Types | |
| typedef NumTraits< Scalar >::Real | RealScalar |
| typedef _Scalar | Scalar |
Public Member Functions | |
| AmbiVector (int size) | |
| Scalar | coeff (int i) |
| Scalar & | coeffRef (int i) |
| void | init (int mode) |
| void | init (RealScalar estimatedDensity) |
| void | nonZeros () const |
| void | resize (int size) |
| void | restart () |
| void | setBounds (int start, int end) |
| void | setZero () |
| int | size () const |
| ~AmbiVector () | |
Protected Member Functions | |
| void | reallocate (int size) |
| void | reallocateSparse () |
Protected Attributes | |
| int | m_allocatedElements |
| int | m_allocatedSize |
| Scalar * | m_buffer |
| int | m_end |
| int | m_llCurrent |
| int | m_llSize |
| int | m_llStart |
| int | m_mode |
| int | m_size |
| int | m_start |
Private Member Functions | |
| AmbiVector (const AmbiVector &) | |
Definition at line 33 of file AmbiVector.h.
| typedef NumTraits<Scalar>::Real AmbiVector< _Scalar >::RealScalar |
Definition at line 37 of file AmbiVector.h.
| typedef _Scalar AmbiVector< _Scalar >::Scalar |
Definition at line 36 of file AmbiVector.h.
| AmbiVector< _Scalar >::AmbiVector | ( | int | size | ) | [inline] |
Definition at line 38 of file AmbiVector.h.
| AmbiVector< _Scalar >::~AmbiVector | ( | ) | [inline] |
Definition at line 60 of file AmbiVector.h.
| AmbiVector< _Scalar >::AmbiVector | ( | const AmbiVector< _Scalar > & | ) | [private] |
| Scalar AmbiVector< Scalar >::coeff | ( | int | i | ) | [inline] |
Definition at line 262 of file AmbiVector.h.
| Scalar & AmbiVector< Scalar >::coeffRef | ( | int | i | ) | [inline] |
Definition at line 193 of file AmbiVector.h.
| void AmbiVector< Scalar >::init | ( | int | mode | ) | [inline] |
Definition at line 154 of file AmbiVector.h.
| void AmbiVector< Scalar >::init | ( | RealScalar | estimatedDensity | ) | [inline] |
Definition at line 145 of file AmbiVector.h.
| void AmbiVector< Scalar >::nonZeros | ( | ) | const [inline] |
Definition at line 136 of file AmbiVector.h.
| void AmbiVector< _Scalar >::reallocate | ( | int | size | ) | [inline, protected] |
Definition at line 73 of file AmbiVector.h.
| void AmbiVector< _Scalar >::reallocateSparse | ( | ) | [inline, protected] |
Definition at line 94 of file AmbiVector.h.
| void AmbiVector< _Scalar >::resize | ( | int | size | ) | [inline] |
Definition at line 62 of file AmbiVector.h.
| void AmbiVector< Scalar >::restart | ( | ) | [inline] |
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 170 of file AmbiVector.h.
| void AmbiVector< _Scalar >::setBounds | ( | int | start, | |
| int | end | |||
| ) | [inline] |
Specifies a sub-vector to work on
Definition at line 50 of file AmbiVector.h.
| void AmbiVector< Scalar >::setZero | ( | ) | [inline] |
Set all coefficients of current subvector to zero
Definition at line 177 of file AmbiVector.h.
| int AmbiVector< _Scalar >::size | ( | ) | const [inline] |
Definition at line 69 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_allocatedElements [protected] |
Definition at line 121 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_allocatedSize [protected] |
Definition at line 120 of file AmbiVector.h.
Scalar* AmbiVector< _Scalar >::m_buffer [protected] |
Definition at line 116 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_end [protected] |
Definition at line 119 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_llCurrent [protected] |
Definition at line 126 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_llSize [protected] |
Definition at line 127 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_llStart [protected] |
Definition at line 125 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_mode [protected] |
Definition at line 122 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_size [protected] |
Definition at line 117 of file AmbiVector.h.
int AmbiVector< _Scalar >::m_start [protected] |
Definition at line 118 of file AmbiVector.h.