Template Function Karana::Math::dump

Template Function Karana::Math::dump#

Function Documentation#

template<typename Derived>
void Karana::Math::dump(const Eigen::MatrixBase<Derived> &mat, std::string_view prefix = "", unsigned int precision = 10, DumpFormatType format_type = DumpFormatType::DEFAULT_FLOAT, bool show_size = true)#

Print dumpString to std::cout.

Parameters:
  • mat – The matrix to print dumpString for.

  • prefix – String prefix for each line.

  • precision – Number of digits to use for floating point values.

  • format_type – The format type to use.

  • show_size – If true, the size of the array is shown.