evaluate_power_basis

evaluate_power_basis(x, coeffs, lower_bound, upper_bound)[source]

Evaluate a polynomial in the power basis.

The input x is normalized to the range [0, 1] based on bounds.

Parameters:
  • x (jnp.ndarray) – Input values.

  • coeffs (jnp.ndarray) – Polynomial coefficients.

  • lower_bound (float) – Lower bound of the domain.

  • upper_bound (float) – Upper bound of the domain.

Returns:

Evaluated polynomial values.

Return type:

jnp.ndarray