Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.ufunc.nargs

ufunc.nargs

The number of arguments.

Data attribute containing the number of arguments the ufunc takes, includingoptional ones.

Notes

Typically this value will be one more than what you might expect because allufuncs take the optional “out” argument.

Examples

>>>np.add.nargs3>>>np.multiply.nargs3>>>np.power.nargs3>>>np.exp.nargs2

Previous topic

numpy.ufunc.nout

Next topic

numpy.ufunc.ntypes

  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Jun 10, 2017.
  • Created usingSphinx 1.5.3.

[8]ページ先頭

©2009-2025 Movatter.jp