#include <VectorEigen.hpp>
Eigen vector wrapper class
Public Member Functions | |
VectorEigen (int size=0) | |
VectorEigen (const VectorEigen &v) | |
VectorEigen (const VectorDouble &v) | |
VectorEigen (const Eigen::VectorXd &v) | |
VectorEigen & | operator= (const VectorEigen &r) |
virtual | ~VectorEigen () |
void | setValue (int i, double value, bool flagCheck=false) |
Set the value at a given position in the vector. More... | |
double | getValue (int i, bool flagCheck=false) const |
Get the value at a given position. More... | |
VectorDouble | getValues () const |
Get all values in a VectorDouble. More... | |
void | fill (double value) |
Set all the values of the Vector at once. More... | |
const Eigen::VectorXd & | getVector () const |
Eigen::VectorXd & | getVector () |
VectorEigen::VectorEigen | ( | int | size = 0 | ) |
VectorEigen::VectorEigen | ( | const VectorEigen & | v | ) |
VectorEigen::VectorEigen | ( | const VectorDouble & | v | ) |
VectorEigen::VectorEigen | ( | const Eigen::VectorXd & | v | ) |
|
virtual |
void VectorEigen::fill | ( | double | value | ) |
Set all the values of the Vector at once.
Set all the values of the Vector at once
value | value to be filled |
double VectorEigen::getValue | ( | int | i, |
bool | flagCheck = false |
||
) | const |
Get the value at a given position.
Get the value at a given position
i | index position |
flagCheck | true to check index position consistency |
VectorDouble VectorEigen::getValues | ( | ) | const |
Get all values in a VectorDouble.
Get all values in a VectorDouble
|
inline |
Get underlying Eigen vector
|
inline |
Get underlying Eigen vector
VectorEigen & VectorEigen::operator= | ( | const VectorEigen & | r | ) |
void VectorEigen::setValue | ( | int | i, |
double | value, | ||
bool | flagCheck = false |
||
) |
Set the value at a given position in the vector.
Set the value at a given position in the vector
i | index position |
value | new value |
flagCheck | true to check index position consistency |