mean
Call Signature
Section titled “Call Signature”mean(
values):number
Defined in: average.ts:21
Calculates the arithmetic mean of the given values.
The arithmetic mean is the sum of the values divided by the number of values.
Parameters
Section titled “Parameters”values
Section titled “values”readonly number[]
The values to calculate the mean of, as an array or as separate arguments.
Returns
Section titled “Returns”number
The arithmetic mean of the given values.
https://en.wikipedia.org/wiki/Arithmetic_mean
Call Signature
Section titled “Call Signature”mean(…
values):number
Defined in: average.ts:22
Calculates the arithmetic mean of the given values.
The arithmetic mean is the sum of the values divided by the number of values.
Parameters
Section titled “Parameters”values
Section titled “values”…number[]
The values to calculate the mean of, as an array or as separate arguments.
Returns
Section titled “Returns”number
The arithmetic mean of the given values.