Check that the given array is sorted.
Calculates the L2 (Euclidean) distance between two points.
Creates an array whose contents will be the element-by-element subtraction of
the second argument fr
Shuffle the entries of the given array.
Creates an array whose contents will be the element-by-element division of the
first argument by the
Compute a linear combination accurately. This method computes the sum of the
productsai bi to high a
Returns an array representing the natural number n.
Normalizes an array to make it sum to a specified value. Returns the result of
Returns an array of size integers starting at start, skipping stride numbers.
Sort an array in ascending order in place and perform the same reordering of
entries on other arrays
Check that both arrays have the same length.
Check all entries of the input array are >= 0.