-
classmethod galois.Array.Zeros(shape: ShapeLike, dtype: DTypeLike | None =
None
) → Array
Creates an array of all zeros.
- Parameters
- shape: ShapeLike
A NumPy-compliant shape
tuple.
- 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
An array of zeros.
Last update:
Aug 27, 2022