Template Function fuse_core::to_string
Defined in File eigen.hpp
Function Documentation
-
template<typename Derived>
std::string fuse_core::to_string(const Eigen::DenseBase<Derived> &m, const int precision = 4) Serialize a matrix into an std::string using this format:
[1, 2, 3] [4, 5, 6] [7, 8, 9]
- Parameters:
m – [in] - The matrix to serialize into an std::string.
precision – [in] - The precision to print the matrix elements with.
- Returns:
An std::string with the matrix serialized into it.