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

◆ variance() [1/7]

template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
double stan::math::variance ( const T &  a)
inline

Return the sample variance of the var_value matrix Raise domain error if size is not greater than zero.

Template Parameters
Tinput matrix type
Parameters
ainput
Returns
sample variance of the input

Definition at line 25 of file variance.hpp.