MRPT  2.0.1
Functions
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 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020