Returns a 1-dimensional slice whose elements are equal to its indices.
value of the first index
value of the last index
value between indices (default = 1)
1-dimensional slice composed of indices
assert(arange(3) == [0, 1, 2]); assert(arange(2, 3, 0.3) == [2.0, 2.3, 2.6, 2.9]);
See Implementation
Returns a 1-dimensional slice whose elements are equal to its indices.