Template Function Acts::toString(const Eigen::MatrixBase<derived_t>&, int, const std::string&)

Function Documentation

template<typename derived_t>
std::string Acts::toString(const Eigen::MatrixBase<derived_t> &matrix, int precision = 4, const std::string &offset = "")

Print out a matrix in a structured way.

Return

The printed string

Template Parameters
  • derived_t: Type of the matrix

Parameters
  • matrix: The matrix to print

  • precision: Numeric output precision

  • offset: Offset in front of matrix lines