Skip to main content
The Deno 2 Release Candidate is here
Learn more
method MathUtil.prototype.arrayProd
import { MathUtil } from "https://deno.land/x/sptaki@1.2.0/utils/MathUtil.d.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