bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / special / _ufunc_tools / _make_ufunc_wrapper
function
scipy.special._ufunc_tools:_make_ufunc_wrapper
source: build-install/usr/lib/python3.14/site-packages/scipy/special/_ufunc_tools.py:401
Signature
def _make_ufunc_wrapper(func, ufunc, name, arg_names, docstring, module = scipy.special)Summary
Create new wrapper that gives ufunc-like behavior to func.
Parameters
func: callableThe function to wrap.
ufunc: callableThe underlying ufunc or ufunc wrapper that
funcwraps.name: strName of the function.
arg_names: list[str]Names of the arguments. May include positional default values (e.g.,
["z", "k=0"]).docstring: strThe docstring for the wrapper.
module: str, optionalValue to use for the
__module__attribute of the wrapper.
Returns
: callableA wrapper for func that maintains relevant ufunc kwargs, attributes, and methods.
Aliases
scipy.special._support_alternative_backends._make_ufunc_wrapper