xarray.polyval (original) (raw)
- API reference
- xarray.polyval
xarray.polyval(coord, coeffs, degree_dim='degree')[source]#
Evaluate a polynomial at specific values
Parameters:
- coord (DataArray or Dataset) – Values at which to evaluate the polynomial.
- coeffs (DataArray or Dataset) – Coefficients of the polynomial.
- degree_dim (
Hashable
, default:"degree"
) – Name of the polynomial degree dimension in coeffs.
Returns: