HE_Mesh  5.1.2
wblut.math.WB_Bernstein Class Reference

Static Public Member Functions

static double[] getBernsteinCoefficientsOfOrderN (final double u, final int order)
 
static double[][] getBernsteinCoefficientsOfOrderNForRange (final int steps, final int order)
 

Member Function Documentation

static double [] wblut.math.WB_Bernstein.getBernsteinCoefficientsOfOrderN ( final double  u,
final int  order 
)
static

Calculate the (n+1) coefficients of the Bernstein polynomial of order n, for the value u (0..1)

Parameters
uvalue at which to evaluate the Bernstein coefficients
orderorder of the Bernstein polynomial
Returns
n+1 coefficients at value u
static double [][] wblut.math.WB_Bernstein.getBernsteinCoefficientsOfOrderNForRange ( final int  steps,
final int  order 
)
static

Calculate the (n+1) coefficients of the Bernstein polynomial of order n, for the value u ranging from (0..1) in the number of steps requested.

Parameters
stepsvalues at which to evaluate the Bernstein coefficients, minimal 2, first and last value are calculated at 0 and 1, the other are calculated equidistant.
orderorder of the Bernstein polynomial
Returns
steps * n+1 coefficients, first index is the step, second index is the coefficient

The documentation for this class was generated from the following file: