Template Function mrpt::io::load_csv

Function Documentation

template<typename MATRIX>
void mrpt::io::load_csv(const std::string &path, MATRIX &M)

Loads a matrix from a CSV text file. Empty lines or those with a trailing # are ignored. Requires including the <Eigen/Dense> header in the user translation unit.

Template Parameters:

MATRIX – Can be any Eigen matrix or mrpt::math matrices.