Module omix.api

Class Bernstein

java.lang.Object
omix.util.math.curves.Bernstein

public class Bernstein
extends Object
Solves the bernstein polynomial.
Since:
Omix 1.4.2
Author:
Dr. Peter Droste, Omix Visualization
  • Constructor Details

  • Method Details

    • bernsteinPolynomial

      public static double bernsteinPolynomial​(int i, int n, double t)
      Solves the bernstein polynomial for i, n and t.

      BernsteinPolynomial

      Parameters:
      i -
      n -
      t -
      Returns:
      solution
    • bernsteinPolynomialDerived

      public static double bernsteinPolynomialDerived​(int i, int n, double t)
      Solves the derived bernstein polynomial for i, n and t.

      BernsteinPolynomial

      Parameters:
      i -
      n -
      t -
      Returns:
      solution
    • bernsteinPolynomialSquareDerived

      public static double bernsteinPolynomialSquareDerived​(int i, int n, double t)
      Solves the second derivative of the bernstein polynomial for i, n and t.

      BernsteinPolynomial

      Parameters:
      i -
      n -
      t -
      Returns:
      solution