-
classmethod galois.Array.Range(start: ElementLike, stop: ElementLike, step: int =
1
, dtype: DTypeLike | None =None
) Array Creates a 1-D array with a range of elements.
- Parameters¶
- start: ElementLike¶
The starting element (inclusive).
- stop: ElementLike¶
The stopping element (exclusive).
- step: int =
1
¶ The increment between elements. The default is 1.
- dtype: DTypeLike | None =
None
¶ The
numpy.dtype
of the array elements. The default isNone
which represents the smallest unsigned data type for thisArray
subclass (the first element indtypes
).
- Returns¶
A 1-D array of a range of elements.