![]() |
Stan Math Library
2.14.0
reverse mode automatic differentiation
|
#include <stan/math/prim/scal/meta/error_index.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <Eigen/Sparse>
#include <vector>
#include <numeric>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
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. More... | |
template<typename T , int R, int C> | |
const std::vector< int > | stan::math::csr_extract_u (const Eigen::Matrix< T, R, C > &A) |
Extract the NZE index for each entry from a sparse matrix. More... | |