/** * Calculates the [arithmetic mean]{@link https://en.wikipedia.org/wiki/Arithmetic_mean} of an array of values. * * @method mean * @memberof ran.location * @param {number[]} values Array of values to calculate mean for. * @returns {number} Mean of the values, NaN for empty input. * @example * * ran.location.mean([]) * // => NaN * * ran.location.mean([1, 2, 3]) * // => 2 */ export default function (values: number[]): number;