Module: compute/utilities/math

Methods

(static) range(n) → {Array.<number>}

List the indices of an array of length n.
Parameters:
Name Type Description
n number length of array
Source:
Returns:
- A number array from 0 to n-1.
Type
Array.<number>