NumPy
ufunc
numpy.typing
numpy.distutils
ufunc.nin
attribute
The number of inputs.
Data attribute containing the number of arguments the ufunc treats as input.
Examples
>>> np.add.nin 2 >>> np.multiply.nin 2 >>> np.power.nin 2 >>> np.exp.nin 1
previous
numpy.ufunc.resolve_dtypes
next
numpy.ufunc.nout