Stan Math Library
5.0.0
Automatic Differentiation
|
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T > | |
const std::tuple< Eigen::Matrix< T, Eigen::Dynamic, 1 >, std::vector< int >, std::vector< int > > | stan::math::csr_extract (const Eigen::SparseMatrix< T, Eigen::RowMajor > &A) |
Extract the non-zero values, column indexes for non-zero values, and the NZE index for each entry from a sparse matrix. | |
template<typename T , require_eigen_dense_base_t< T > * = nullptr> | |
const std::tuple< Eigen::Matrix< scalar_type_t< T >, Eigen::Dynamic, 1 >, std::vector< int >, std::vector< int > > | stan::math::csr_extract (const T &A) |