numpy.ufunc.identity
attribute
- ufunc.identity
The identity value.
Data attribute containing the identity element for the ufunc, if it has one. If it does not, the attribute value is None.
Examples
>>> import numpy as np >>> np.add.
attribute
The identity value.
Data attribute containing the identity element for the ufunc, if it has one. If it does not, the attribute value is None.
>>> import numpy as np
>>> np.add.