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_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr> | |
scalar_type_t< T > | stan::math::mean (const T &m) |
Returns the sample mean (i.e., average) of the coefficients in the specified std vector, vector, row vector, or matrix. | |