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

◆ variance() [5/7]

var stan::math::variance ( const std::vector< var > &  v)
inline

Return the sample variance of the specified standard vector.

Raise domain error if size is not greater than zero.

Parameters
[in]va vector
Returns
sample variance of specified vector

Definition at line 42 of file variance.hpp.