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.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).

Returns

A 1-D array of a range of elements.