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.

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 is None which represents the smallest unsigned data type for this Array subclass (the first element in dtypes).


A 1-D array of a range of elements.