15 #include <Eigen/Geometry> 20 template<
typename Scalar,
int Rows,
int Cols,
int Options,
int MaxRows,
int MaxCols>
21 inline ::std::string
to_string(const ::Eigen::Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols>& value)
23 ::std::stringstream ss;
24 ss << value.format({6, ::Eigen::DontAlignCols,
", ",
"; ",
"[",
"]",
"[",
"]"});
28 template<
typename Derived,
int Dim>
29 inline ::std::string
to_string(const ::Eigen::RotationBase<Derived, Dim>& value)
31 ::std::stringstream ss;
32 ss << value.matrix().format({6, ::Eigen::DontAlignCols,
", ",
"; ",
"[",
"]",
"[",
"]"});
36 template<
typename Scalar,
int Dim,
int Mode,
int Options>
37 inline ::std::string
to_string(const ::Eigen::Transform<Scalar, Dim, Mode, Options>& value)
39 ::std::stringstream ss;
40 ss << value.matrix().format({6, ::Eigen::DontAlignCols,
", ",
"; ",
"[",
"]",
"[",
"]"});
inline ::std::string to_string(const ::Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > &value)