Collection of helper functions for Eigen matrices.
More...
|
| Eigen::Vector3d | To3D (const Eigen::VectorXd &data) |
| | converts data to a 3D vector, fills with zeros if needed More...
|
| |
| Eigen::VectorXd | ToEigen (std::initializer_list< double > l) |
| | transforms an initializer_list to an Eigen::VectorXd More...
|
| |
| Eigen::VectorXd | ToEigen (double d) |
| | transforms a single double number to an Eigen::VectorXd More...
|
| |
Collection of helper functions for Eigen matrices.
| Eigen::Vector3d NuTo::EigenCompanion::To3D |
( |
const Eigen::VectorXd & |
data | ) |
|
|
inline |
converts data to a 3D vector, fills with zeros if needed
- Parameters
-
| data | vector of arbitrary size |
- Returns
- 3D vector
| Eigen::VectorXd NuTo::EigenCompanion::ToEigen |
( |
std::initializer_list< double > |
l | ) |
|
|
inline |
transforms an initializer_list to an Eigen::VectorXd
| Eigen::VectorXd NuTo::EigenCompanion::ToEigen |
( |
double |
d | ) |
|
|
inline |
transforms a single double number to an Eigen::VectorXd