Template Function icrar::pretty_matrix
Defined in File eigen_stringutils.h
Function Documentation
-
template<typename Matrix>
std::string icrar::pretty_matrix(const Eigen::MatrixBase<Matrix> &value) Prints a formatted matrix to a string with a maximum of 6 rows and columns displayed.
- Template Parameters:
Matrix – Eigen Matrix type
- Parameters:
value – the matrix to print
- Returns:
std::string the formatted string result