copapy.jit#

copapy.jit(func)#

Just-in-time compile a function for the copapy target.

Parameters:

func (Callable[..., TypeVar(TRet, Iterable[int | float], int, float)]) – Function to compile

Return type:

Callable[..., TypeVar(TRet, Iterable[int | float], int, float)]

Returns:

A callable that runs the compiled function.