Go to the documentation of this file.
28 #include <SimoxUtility/algorithm/vector.hpp>
33 {matrix::ElementType::INT16,
"INT16"},
34 {matrix::ElementType::INT32,
"INT32"},
35 {matrix::ElementType::INT64,
"INT64"},
36 {matrix::ElementType::FLOAT32,
"FLOAT32"},
37 {matrix::ElementType::FLOAT64,
"FLOAT64"}};
56 return this->
aron->rows;
62 return this->
aron->cols;
71 __PRETTY_FUNCTION__,
"The rows cannot be 0 or < -1",
getPath());
82 __PRETTY_FUNCTION__,
"The cols cannot be 0 or < -1",
getPath());
90 return this->
aron->elementType;
96 this->
aron->elementType = u;
118 if (
aron->rows == -1)
123 if (
aron->cols == -1)
128 return "armarx::aron::type::Matrix<" + rows +
", " + cols +
", " +
A base class for aron exceptions.
static const std::map< std::string, matrix::ElementType > String2Elementtype
std::shared_ptr< class Matrix > MatrixPtr
void setElementType(const type::matrix::ElementType)
Eigen::Matrix< T, 3, 3 > Matrix
std::string getFullName() const override
get the full name of this specific type
std::map< T2, T1 > InvertMap(const std::map< T1, T2 > &m)
type::dto::MatrixPtr toMatrixDTO() const
type::dto::Matrix ::PointerType aron
A convenience header to include all aron files (full include, not forward declared)
Matrix(const Path &path=Path())
const std::string & to_string(const std::string &s)
type::matrix::ElementType getElementType() const
std::string getShortName() const override
get a short name of this specific type
static const std::map< matrix::ElementType, std::string > Elementtype2String