Array Types – irtlib.typing#

Type aliases for NumPy arrays, used in irtlib’s public signatures.

Code that builds on irtlib can annotate its arrays the way irtlib does.

irtlib.typing.BoolArray#

A NumPy array of Booleans, such as a mask of examinees.

alias of NDArray[bool]

irtlib.typing.FloatArray#

A NumPy array of floating-point values of any precision.

alias of NDArray[floating[Any]]

irtlib.typing.IntArray#

A NumPy array of integers of any precision, such as item indices or parameter counts.

alias of NDArray[integer[Any]]