
Functions | |
| template<class TRIPLET > | |
| bool | mrpt::math::saveEigenSparseTripletsToFile (const std::string &sFile, std::vector< TRIPLET > &tri) |
| Saves to a plain-text file the nonzero entries of a Eigen sparse matrix, represented as a vector of triplets. | |
| bool mrpt::math::saveEigenSparseTripletsToFile | ( | const std::string & | sFile, |
| std::vector< TRIPLET > & | tri | ||
| ) |
Saves to a plain-text file the nonzero entries of a Eigen sparse matrix, represented as a vector of triplets.
Output format is one line per entry with the format: "i j val", i:row, j:col, val:value.
| TRIPLET | should be Eigen::Triplet<T> |
Definition at line 250 of file base/include/mrpt/math/utils.h.
| Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Thu Dec 14 16:54:58 UTC 2023 |