Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method MathUtil.prototype.arrayProd
Re-export
import { MathUtil } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Helper to create the product of each element times factor

Parameters

values: number[]

The array of numbers which shall be multiplied by the factor

factor: number

Returns

number[]

array times factor