|
| bool | mtl::io::detail::split_fields (std::string_view line, char delimiter, std::vector< std::string_view > &fields) |
| | The fields of one line.
|
| template<typename Value = double> |
| mat::dense2D< Value > | mtl::io::read_dense (const std::string &filename, char delimiter=',') |
| | Read a dense matrix from a CSV or whitespace-delimited file.
|
| template<typename Value = double> |
| mat::compressed2D< Value > | mtl::io::read_sparse (const std::string &filename, std::size_t nrows, std::size_t ncols) |
| | Read a sparse matrix from a triplet file (row col value per line, 0-based).
|