bundles / scipy latest / scipy / _lib / array_api_extra / _lib / _lazy / _lazy_apply_wrapper
function
scipy._lib.array_api_extra._lib._lazy:_lazy_apply_wrapper
Signature
def _lazy_apply_wrapper ( func : Callable[..., Array | ArrayLike | Sequence[Array | ArrayLike]] , as_numpy : bool , multi_output : bool , xp : ModuleType ) → Callable[..., tuple[Array, ...]] Summary
Helper of lazy_apply.
Extended Summary
Given a function that accepts one or more arrays as positional arguments and returns a single array-like or a sequence of array-likes, return a function that accepts the same number of Array API arrays and always returns a tuple of Array API array.
Any keyword arguments are passed through verbatim to the wrapped function.
Aliases
-
scipy.differentiate.xpx._lib._lazy._lazy_apply_wrapper