mean#

static vectorious.mean(x)#

Gets the arithmetic mean of x.

Arguments:
Returns:

Number

Examples:

import { mean } from 'vectorious/core/mean';

mean([1, 2, 3]); // => 2