Point out that sparse matrices can be loaded this way too.

This commit is contained in:
Ryan Curtin
2024-04-11 10:54:14 -04:00
parent 6586ed6fb6
commit 2abceaedf3
+3 -3
View File
@@ -30,9 +30,9 @@ following functions.
* By default the format is auto-detected based on the file extension, but can
be explicitly specified with `format`; see [Formats](#formats).
* `matrix` is an `arma::mat&`, `arma::Mat<size_t>&`, or similar (e.g., a
reference to an Armadillo object that data will be loaded into or saved
from).
* `matrix` is an `arma::mat&`, `arma::Mat<size_t>&`, `arma::sp_mat&`, or
similar (e.g., a reference to an Armadillo object that data will be loaded
into or saved from).
* If `fatal` is `true`, a `std::runtime_error` will be thrown on failure.