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

◆ csr_extract_u() [2/2]

template<typename T , require_eigen_dense_base_t< T > * = nullptr>
const std::vector< int > stan::math::csr_extract_u ( const T &  A)

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

Template Parameters
Ttype of elements in the matrix
Rnumber of rows, can be Eigen::Dynamic
Cnumber of columns, can be Eigen::Dynamic
Parameters
ADense matrix.
Returns
Array of indexes into non-zero entries of A.

Definition at line 44 of file csr_extract_u.hpp.