Skip to content

utils.ArrayUtils

Christian d'Heureuse edited this page Jun 6, 2026 · 1 revision

dsp-collection / utils/ArrayUtils

utils/ArrayUtils

Simple operations on arrays.

Functions

Function Description
argGte Returns the index of the first array entry greater than or equal to the specified value v. Or NaN if no such element can be found.
argMax Returns the index of the maximum value of an array of numbers.
copy Copies a1 to a2.
divide Divides the values of two arrays and returns the result in a new array.
fill Fills an array.
getQuantileNearestFromSortedArray Returns a quantile value from a sorted array.
max Returns the maximum value of an array of numbers.
maxAbs Returns the maximum absolute value of an array of numbers.
multiply Multiplies the values of two arrays and returns the result in a new array.
rms Returns the RMS (root mean square) value of an array of numbers.
sum Returns the sum of all numbers of the array.

Clone this wiki locally