cupy.polyval¶
-
cupy.
polyval
(p, x)[source]¶ Evaluates a polynomial at specific values.
- Parameters
p (cupy.ndarray or cupy.poly1d) – input polynomial.
x (scalar, cupy.ndarray) – values at which the polynomial
evaluated. (is) –
- Returns
polynomial evaluated at x.
- Return type
Warning
This function doesn’t currently support poly1d values to evaluate.
See also