Function navtk::utils::repr(const Matrix&, const std::string&)
Defined in File human_readable.hpp
Function Documentation
-
std::string navtk::utils::repr(const Matrix &matrix, const std::string &decl)
Returns a
std::stringrepresentation of the given Matrix, optionally prefixed by a given type declaration.Returned string is both human-readable, and copypasteable as source.
- Parameters
matrix – The Matrix to inspect.
decl – Prefix string of output.
- Returns
A string declaration for the Matrix.