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

◆ csr_extract_v() [1/2]

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

Extract the column indexes for non-zero value from a sparse matrix.

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

Definition at line 26 of file csr_extract_v.hpp.