Skip to content

Types (polykin.utils.types)¤

FloatArray module-attribute ¤

FloatArray = ndarray[Any, dtype[float64]]

FloatArrayLike module-attribute ¤

FloatArrayLike = (
    list[float] | tuple[float, ...] | FloatArray
)

FloatVector module-attribute ¤

FloatVector = NDArray[Shape['*'], Float64]

FloatVectorLike module-attribute ¤

FloatVectorLike = (
    list[float] | tuple[float, ...] | FloatVector
)

Float2x2Matrix module-attribute ¤

Float2x2Matrix = NDArray[Shape['2, 2'], Float64]

FloatMatrix module-attribute ¤

FloatMatrix = NDArray[Shape['*, *'], Float64]

FloatSquareMatrix module-attribute ¤

FloatSquareMatrix = NDArray[Shape['Dim, Dim'], Float64]

FloatRangeArray module-attribute ¤

FloatRangeArray = NDArray[Shape['2'], Float64]

IntArray module-attribute ¤

IntArray = ndarray[Any, dtype[int32]]

IntArrayLike module-attribute ¤

IntArrayLike = list[int] | tuple[int, ...] | IntArray

IntVector module-attribute ¤

IntVector = NDArray[Shape['*'], Int32]

IntVectorLike module-attribute ¤

IntVectorLike = list[int] | tuple[int, ...] | IntVector

Number module-attribute ¤

Number = TypeVar('Number', float, complex)