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
-
u | value at which to evaluate the Bernstein coefficients |
order | order 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
-
steps | values at which to evaluate the Bernstein coefficients, minimal 2, first and last value are caluckated at 0 and 1, the other are caluclated equidistant. |
order | order 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: