Stan Math Library
5.0.0
Automatic Differentiation
|
const std::tuple< Eigen::Matrix< T, Eigen::Dynamic, 1 >, std::vector< int >, std::vector< int > > stan::math::csr_extract | ( | const Eigen::SparseMatrix< T, Eigen::RowMajor > & | A | ) |
Extract the non-zero values, column indexes for non-zero values, and the NZE index for each entry from a sparse matrix.
T | type of elements in the matrix |
[in] | A | sparse matrix. |
Definition at line 25 of file csr_extract.hpp.