Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ csr_extract_u() [1/2]

template<typename T >
const std::vector< int > stan::math::csr_extract_u ( const Eigen::SparseMatrix< T, Eigen::RowMajor > &  A)

Extract the NZE index for each entry from a sparse matrix.

Template Parameters
Ttype of elements in the matrix
Parameters
ASparse matrix.
Returns
Array of indexes into non-zero entries of A.

Definition at line 25 of file csr_extract_u.hpp.