21 lines
272 B
Markdown
21 lines
272 B
Markdown
# MathVariance
|
||
|
||
The function calculates the variance (second moment) of array elements.
|
||
|
||
```
|
||
double MathVariance(
|
||
const double& array[] // array of values
|
||
)
|
||
|
||
```
|
||
|
||
Parameters
|
||
|
||
array[]
|
||
|
||
[in] Array of values.
|
||
|
||
Return Value
|
||
|
||
Value of the variance.
|