本文簡要介紹 python 語言中 numpy.ufunc.identity
的用法。
用法:
ufunc.identity
身份值。
包含 ufunc 的標識元素的數據屬性(如果有的話)。如果不是,則屬性值為無。
例子:
>>> np.add.identity 0 >>> np.multiply.identity 1 >>> np.power.identity 1 >>> print(np.exp.identity) None
相關用法
- Python numpy ufunc.at用法及代碼示例
- Python numpy ufunc.outer用法及代碼示例
- Python numpy ufunc.ntypes用法及代碼示例
- Python numpy ufunc.reduce用法及代碼示例
- Python numpy ufunc.nin用法及代碼示例
- Python numpy ufunc.nout用法及代碼示例
- Python numpy ufunc.reduceat用法及代碼示例
- Python numpy ufunc.nargs用法及代碼示例
- Python numpy ufunc.types用法及代碼示例
- Python numpy ufunc.signature用法及代碼示例
- Python numpy ufunc.accumulate用法及代碼示例
- Python numpy union1d用法及代碼示例
- Python numpy unpackbits用法及代碼示例
- Python numpy unravel_index用法及代碼示例
- Python numpy unique用法及代碼示例
- Python numpy unwrap用法及代碼示例
- Python numpy RandomState.standard_exponential用法及代碼示例
- Python numpy hamming用法及代碼示例
- Python numpy legendre.legint用法及代碼示例
- Python numpy chararray.ndim用法及代碼示例
- Python numpy chebyshev.chebsub用法及代碼示例
- Python numpy chararray.nbytes用法及代碼示例
- Python numpy ma.indices用法及代碼示例
- Python numpy matrix.A1用法及代碼示例
- Python numpy MaskedArray.var用法及代碼示例
注:本文由純淨天空篩選整理自numpy.org大神的英文原創作品 numpy.ufunc.identity。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。