Function navtk::utils::repr(const Matrix&, const std::string&)

Function Documentation

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

Returns a std::string representation 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.