Stan Math Library
4.9.0
Automatic Differentiation
|
var stan::math::variance | ( | const EigMat & | m | ) |
Return the sample variance of the specified vector, row vector, or matrix.
Raise domain error if size is not greater than zero.
EigMat | type inheriting from EigenBase that has a var scalar type. |
[in] | m | input matrix |
Definition at line 61 of file variance.hpp.