public class LagrangeFormula
extends java.lang.Object
| Constructor and Description |
|---|
LagrangeFormula() |
| Modifier and Type | Method and Description |
|---|---|
static float |
process_F32(float sample,
float[] x,
float[] y,
int i0,
int i1)
UsingLlangrange's formula it interpulates the value of a function at the specified sample
point given discrete samples.
|
static double |
process_F64(double sample,
double[] x,
double[] y,
int i0,
int i1)
UsingLlangrange's formula it interpulates the value of a function at the specified sample
point given discrete samples.
|
public static double process_F64(double sample,
double[] x,
double[] y,
int i0,
int i1)
sample - Where the estimate is done.x - Where the function was sampled.y - The function's value at the sample pointsi0 - The first point considered.i1 - The last point considered.public static float process_F32(float sample,
float[] x,
float[] y,
int i0,
int i1)
sample - Where the estimate is done.x - Where the function was sampled.y - The function's value at the sample pointsi0 - The first point considered.i1 - The last point considered.