evaluate_bernstein_basis

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

Evaluate a polynomial in the Bernstein basis.

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

  • coeffs (jnp.ndarray) – Coefficients (control points) of the Bernstein polynomial.

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

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

Returns:

Evaluated values.

Return type:

jnp.ndarray