public class ParabolicExtrapolation extends Extrapolation
| Modifier and Type | Class and Description |
|---|---|
static class |
ParabolicExtrapolation.StepTest
Test class for stepping forward and backward.
|
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEGREE
The degree of the extrapolation polynom.
|
extrapolate, sum, yk, yk2sum| Constructor and Description |
|---|
ParabolicExtrapolation(double[] data)
Constructs a new linear extrapolation object.
|
ParabolicExtrapolation(int b)
Constructs a new linear extrapolation object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Polynom |
calcPolynom()
Calculates the extrapolating polynom.
|
double |
getChi2()
Calculates the discrepancy as the sum of the squared residuals.
|
protected Polynom |
updatePolynom()
Calculates the extrapolating polynom assuming that all values and sums
are in a coherent state.
|
calcSum, getN, getPolynom, predict, setData, shiftBackward, shiftForward, validprivate static final int DEGREE
public ParabolicExtrapolation(int b)
Extrapolation.setData(double[]) to
set the measurements.public ParabolicExtrapolation(double[] data)
protected Polynom calcPolynom()
Extrapolation.calcSum(int) method of the abstract parent class is used.calcPolynom in class Extrapolationprotected Polynom updatePolynom()
updatePolynom in class Extrapolationpublic double getChi2()
getChi2 in class Extrapolation