numpy.polynomial.polynomial.Polynomial.identity
method
-
classmethod polynomial.polynomial.Polynomial.identity(domain=None, window=None)[source] -
Identity function.
If
pis the returned series, thenp(x) == xfor all values of x.- Parameters
-
-
domain{None, array_like}, optional -
If given, the array must be of the form
[beg, end], wherebegandendare the endpoints of the domain. If None is given then the class domain is used. The default is None. -
window{None, array_like}, optional -
If given, the resulting array must be if the form
[beg, end], wherebegandendare the endpoints of the window. If None is given then the class window is used. The default is None.
-
- Returns
-
-
new_seriesseries -
Series of representing the identity.
-
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.polynomial.polynomial.Polynomial.identity.html