Skip to content

Types

Types for hilbertsfc.

Type aliases used throughout the public API to keep function signatures readable.

Int16Array

Int16Array = NDArray[int16]

NumPy int16 array.

Int32Array

Int32Array = NDArray[int32]

NumPy int32 array.

Int64Array

Int64Array = NDArray[int64]

NumPy int64 array.

Int8Array

Int8Array = NDArray[int8]

NumPy int8 array.

IntArray

IntArray = NDArray[integer]

NumPy integer array (signed or unsigned integer dtype).

IntScalar

IntScalar = int | integer

Scalar integer input type.

Accepts a Python int or a NumPy integer scalar (e.g. np.uint32(1)).

LutUIntDType

LutUIntDType = dtype[uint16] | dtype[uint32] | dtype[uint64]

LUT dtype as a numpy.dtype instance.

LutUIntDTypeLike

LutUIntDTypeLike = LutUIntType | LutUIntDType

LUT dtype accepted by LUT/kernel builders.

Allows either the dtype type (e.g. np.uint32) or a numpy.dtype instance (e.g. np.dtype(np.uint32)).

LutUIntType

LutUIntType = type[uint16] | type[uint32] | type[uint64]

LUT dtype as a type (np.uint16/np.uint32/np.uint64).

UInt16Array

UInt16Array = NDArray[uint16]

NumPy uint16 array.

UInt32Array

UInt32Array = NDArray[uint32]

NumPy uint32 array.

UInt64Array

UInt64Array = NDArray[uint64]

NumPy uint64 array.

UInt8Array

UInt8Array = NDArray[uint8]

NumPy uint8 array.

UIntArray

UIntArray = NDArray[unsignedinteger]

NumPy unsigned integer array.