template<class TReal, std::size_t TBlockSize = 1>
class sofa::linearalgebra::EigenVector< TReal, TBlockSize >
Container of a vector of the Eigen library. Not an eigenvector of a matrix.
|
| VectorEigen & | getVectorEigen () |
| |
| const VectorEigen & | getVectorEigen () const |
| |
| | EigenVector (Index nbRow=0) |
| |
| Index | size () const override |
| | Number of elements. More...
|
| |
| void | resize (Index nbRow) override |
| | Resize the matrix without preserving the data (the matrix is set to zero) More...
|
| |
| void | resizeBlocks (Index nbBlocks) |
| | Resize the matrix without preserving the data (the matrix is set to zero), with the size given in number of blocks. More...
|
| |
| SReal | element (Index i) const override |
| | Read the value of element i. More...
|
| |
| void | set (Index i, SReal v) override |
| | Write the value of element i. More...
|
| |
| void | setBlock (Index i, const Block &v) |
| |
| void | add (Index i, SReal v) override |
| | Add v to the existing value of element i. More...
|
| |
| void | clear (Index i) override |
| | Reset the value of element i to 0. More...
|
| |
| void | clear () override |
| | Set all values to 0, by resizing to the same size. More...
|
| |
| const std::string | Name () |
| |
| virtual | ~BaseVector () |
| |
| virtual const float * | elements (Index i0, Index n, float *src) const |
| | Get the values of n elements, starting at element i0, into given float buffer, or return the pointer to the data if the in-memory format is compatible. More...
|
| |
| virtual const double * | elements (Index i0, Index n, double *src) const |
| | Get the values of n elements, starting at element i0, into given double buffer, or return the pointer to the data if the in-memory format is compatible. More...
|
| |
| virtual const int * | elements (Index i0, Index n, int *src) const |
| | Get the values of n elements, starting at element i0, into given int buffer, or return the pointer to the data if the in-memory format is compatible. More...
|
| |
| virtual void | set (Index i0, Index n, const float *src) |
| | Write the values of n float elements, starting at element i0. More...
|
| |
| virtual void | set (Index i0, Index n, const double *src) |
| | Write the values of n double elements, starting at element i0. More...
|
| |
| virtual void | set (Index i0, Index n, const int *src) |
| | Write the values of n int elements, starting at element i0. More...
|
| |
| virtual void | add (Index i0, Index n, const float *src) |
| | Add to the values of n float elements, starting at element i0. More...
|
| |
| virtual void | add (Index i0, Index n, const double *src) |
| | Add to the values of n double elements, starting at element i0. More...
|
| |
| virtual void | add (Index i0, Index n, const int *src) |
| | Add to the values of n int elements, starting at element i0. More...
|
| |
| virtual ElementType | getElementType () const |
| |
| virtual std::size_t | getElementSize () const |
| |
| virtual bool | isFull () const |
| | Return true if this vector is full, i.a. all elements are stored in memory. More...
|
| |
| bool | isSparse () const |
| |