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

Detailed Description

Collaboration diagram for Load matrix from CSV file (in #include <mrpt/io/csv.h>):

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.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020