Stan Math Library  2.9.0
reverse mode automatic differentiation
Namespaces | Functions
csr_extract_u.hpp File Reference
#include <stan/math.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...
 

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