-
classmethod galois.Array.Range(start: ElementLike, stop: ElementLike, step: int =
1, dtype: DTypeLike | None =None) Self 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.dtypeof the array elements. The default isNonewhich represents the smallest unsigned data type for thisArraysubclass (the first element indtypes).
- Returns:¶
A 1-D array of a range of elements.