OGS
EigenMapTools.h File Reference

Detailed Description

Definition in file EigenMapTools.h.

#include <Eigen/Core>
#include <cassert>
#include <vector>
Include dependency graph for EigenMapTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MathLib
 

Functions

template<typename Matrix >
Eigen::Map< Matrix > MathLib::createZeroedMatrix (std::vector< double > &data, Eigen::MatrixXd::Index rows, Eigen::MatrixXd::Index cols)
 
template<typename Matrix >
Eigen::Map< const Matrix > MathLib::toMatrix (std::vector< double > const &data, Eigen::MatrixXd::Index rows, Eigen::MatrixXd::Index cols)
 
template<typename Matrix >
Eigen::Map< Matrix > MathLib::toMatrix (std::vector< double > &data, Eigen::MatrixXd::Index rows, Eigen::MatrixXd::Index cols)
 
template<typename Vector >
Eigen::Map< Vector > MathLib::createZeroedVector (std::vector< double > &data, Eigen::VectorXd::Index size)
 
template<typename Vector >
Eigen::Map< const Vector > MathLib::toVector (std::vector< double > const &data, Eigen::VectorXd::Index size)
 Creates an Eigen mapped vector from the given data vector. More...
 
template<typename Vector >
Eigen::Map< Vector > MathLib::toVector (std::vector< double > &data, Eigen::VectorXd::Index size)
 Creates an Eigen mapped vector from the given data vector. More...
 
Eigen::Map< const Eigen::VectorXd > MathLib::toVector (std::vector< double > const &data)
 
Eigen::Map< Eigen::VectorXd > MathLib::toVector (std::vector< double > &data)