This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / special / _ufunc_tools / _normalize_out

function

scipy.special._ufunc_tools:_normalize_out

source: build-install/usr/lib/python3.14/site-packages/scipy/special/_ufunc_tools.py:60

Signature

def _normalize_out(out, nout)

Summary

Validate out and return it as a tuple of length nout.

Extended Summary

Entries may be None, meaning that output should be allocated for the user, matching the behavior of a plain ufunc.

Aliases

  • scipy.special._ufunc_tools._normalize_out