micromechanical (C++)
|
Transformations between 3x3 matrices and 6x1 vectors. More...
#include <Eigen/Dense>
#include <string>
#include <vector>
Namespaces | |
namespace | micromechanical |
helper functions for mathematical operations | |
namespace | micromechanical::math |
Functions | |
template<typename T> | |
Eigen::Matrix< T, 3, 3 > | micromechanical::math::vec2mat (const Eigen::Matrix< T, 6, 1 > &vector) |
Convert a 6x1 vector to a 3x3 matrix. | |
template Eigen::Matrix< float, 3, 3 > | micromechanical::math::vec2mat (const Eigen::Matrix< float, 6, 1 > &vector) |
template Eigen::Matrix< double, 3, 3 > | micromechanical::math::vec2mat (const Eigen::Matrix< double, 6, 1 > &vector) |
template<typename T> | |
Eigen::Matrix< T, 6, 1 > | micromechanical::math::mat2vec (const Eigen::Matrix< T, 3, 3 > &matrix) |
Convert a 3x3 matrix to a 6x1 vector. | |
template Eigen::Matrix< float, 6, 1 > | micromechanical::math::mat2vec (const Eigen::Matrix< float, 3, 3 > &matrix) |
template Eigen::Matrix< double, 6, 1 > | micromechanical::math::mat2vec (const Eigen::Matrix< double, 3, 3 > &matrix) |
template<typename T> | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | micromechanical::math::ignoreDistractions (Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > data, const T &ignored_value=0.0, const T &tol=1e-5) |
Ignore data distractions. | |
template Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic > | micromechanical::math::ignoreDistractions (Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic > data, const float &ignored_value, const float &tol) |
template Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > | micromechanical::math::ignoreDistractions (Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > data, const double &ignored_value, const double &tol) |
std::vector< std::string > | micromechanical::math::split (const std::string &string, const std::string &delimiter) |
Split a string by a delimiter. | |
Transformations between 3x3 matrices and 6x1 vectors.