We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Find the arithmetic mean of bigints (µ).
Similar: arithmethicMean, geometricMean, harmonicMean, quadriaticMean, cubicMean. Similar: arithmethicMean, median, modes, variance, range.
function arithmeticMean(...xs) // xs: bigints
const xbigint = require('extra-bigint'); xbigint.arithmethicMean(1n, 2n); // → 1n xbigint.arithmethicMean(1n, 2n, 3n); // → 2n xbigint.arithmethicMean(1n, 2n, 3n, 4n); // → 2n