MRPT  1.9.9
Load matrix from CSV file (in #include <mrpt/io/csv.h>)

Detailed Description

Functions

template<typename MATRIX >
void mrpt::io::load_csv (const std::string &path, MATRIX &M)
 Loads a matrix from a CSV text file. More...
 

Function Documentation

◆ load_csv()

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
MATRIXCan be any Eigen matrix or mrpt::math matrices.
Note
Based on: https://stackoverflow.com/a/39146048/1631514

Definition at line 32 of file csv.h.

References val.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019