Function totalFast

Returns the total of data without pre-filtering for speed.

For most uses, total should suffice.

import { Numbers } from 'https://unpkg.com/ixfx/dist/numbers.js';
Numbers.totalFast([ 10, 0, 4 ]); // 14
  • Parameters

    • data: readonly number[] | Float32Array

    Returns number

    Maximum