mrpro.operators.EndomorphOperator

Endomorph Operators.

Functions

abstractmethod(funcobj)

A decorator indicating abstract methods.

cast(typ, val)

Cast a value to a type.

endomorph(f, /)

Decorate a function to make it an endomorph callable.

overload(func)

Decorator for overloaded functions/methods.

Classes

Callable()

EndomorphOperator(*args, **kwargs)

Endomorph Operator.

Operator(*args, **kwargs)

The general Operator class.

ParamSpec(name, *[, bound, covariant, ...])

Parameter specification variable.

Protocol()

Base class for protocol classes.

TypeVar(name, *constraints[, bound, ...])

Type variable.

TypeVarTuple(name)

Type variable tuple.