| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
csr_extract_v.hpp File Reference
`#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...

[ Stan Home Page ] © 2011–2016, Stan Development Team.