Function navtk::utils::repr(const Matrix&)

Function Documentation

std::string navtk::utils::repr(const Matrix &matrix)

Returns a std::string representation of the given Matrix, prefixed by one of Matrix or Vector, based on its shape.

Returned string is both human-readable, and copypasteable as source.

Parameters

matrix – The Matrix to inspect.

Returns

A string declaration for the Matrix.