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

◆ variance() [2/7]

template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
var stan::math::variance ( const var_value< T > &  A)
inline

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

Template Parameters
Matinput matrix type
Parameters
Ainput
Returns
sample variance of the input

Definition at line 24 of file variance.hpp.