Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ mean() [1/2]

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.

Parameters
minput kernel generator expression
Returns
Sample mean of the input kernel expressions.

Definition at line 20 of file mean.hpp.