gemseo

Show inherited members

typing module

Common typing definitions.

gemseo.typing.BooleanArray

A NumPy array of boolean numbers.

gemseo.typing.ComplexArray

A NumPy array of complex numbers.

gemseo.typing.IntegerArray

A NumPy array of integer numbers.

gemseo.typing.JacobianData

A Jacobian data structure of the form ``{output_name: {input_name: jacobian}}.

gemseo.typing.MutableStrKeyMapping

A mutable mapping from strings to anything.

gemseo.typing.NumberArray

A NumPy array of integer or real or complex numbers.

gemseo.typing.RealArray

A NumPy array of real numbers.

gemseo.typing.RealOrComplexArray

A NumPy array of real or complex numbers.

class gemseo.typing.RealOrComplexArrayT

A NumPy array of real or complex numbers generic type.

alias of TypeVar(‘RealOrComplexArrayT’, ~numpy.ndarray[~typing.Any, ~numpy.dtype[~numpy.floating[~typing.Any]]], ~numpy.ndarray[~typing.Any, ~numpy.dtype[~numpy.complexfloating[~typing.Any, ~typing.Any]]])

gemseo.typing.StrKeyMapping

A read-only mapping from strings to anything.

gemseo.typing.SparseOrDenseRealArray(*args, **kwargs)

A dense NumPy array or a sparse SciPy array.

alias of ndarray[Any, dtype[floating[Any]]] | coo_matrix | spmatrix | sparray