Stan Math Library
4.9.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 , require_stan_scalar_t< T > * = nullptr> | |
void | stan::math::dims (const T &x, std::vector< int > &result) |
Pushes dimensions of given argument into given result vector. | |
template<typename T , typename Alloc > | |
void | stan::math::dims (const std::vector< T, Alloc > &x, std::vector< int > &result) |
Pushes dimensions of given argument into given result vector. | |
template<typename T > | |
std::vector< int > | stan::math::dims (const T &x) |
Determines dimensions of an argument. | |