![]() |
Stan Math Library
2.11.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_v (const Eigen::SparseMatrix< T, Eigen::RowMajor > &A) |
| Extract the column indexes for non-zero value from a sparse matrix. More... | |
| template<typename T , int R, int C> | |
| const std::vector< int > | stan::math::csr_extract_v (const Eigen::Matrix< T, R, C > &A) |
| Extract the column indexes for non-zero values from a dense matrix by converting to sparse and calling the sparse matrix extractor. More... | |