Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Returns the sample variance (divide by length - 1) of the coefficients in the specified standard vector.
StdVec | A standard library vector that does not contain a var. |
v | specified vector |
<code>std::invalid_argument</code> | if the vector has size zero |
Definition at line 46 of file variance.hpp.