|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.math.Extrapolation
stella.math.LinearExtrapolation
public class LinearExtrapolation
Uses linear extrapolation to predict STELLA-sensor data.
| Field Summary | |
|---|---|
private static int |
DEGREE
The degree of the extrapolation polynom. |
| Fields inherited from class stella.math.Extrapolation |
|---|
extrapolate, sum, yk, yk2sum |
| Constructor Summary | |
|---|---|
LinearExtrapolation()
Constructs a new linear extrapolation object. |
|
LinearExtrapolation(double[] data)
Constructs a new linear extrapolation object. |
|
| Method Summary | |
|---|---|
protected Polynom |
calcPolynom()
Calculates the extrapolating polynom. |
double |
getChi2()
Calculates the discrepancy as the sum of the squared residuals. |
protected Polynom |
updatePolynom()
Updates the extrapolating polynom assuming that not only the data but also the data sums are correct. |
| Methods inherited from class stella.math.Extrapolation |
|---|
calcSum, getN, getPolynom, predict, setData, shiftBackward, shiftForward |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int DEGREE
| Constructor Detail |
|---|
public LinearExtrapolation()
Extrapolation.setData(double[]) to
set the measurements.
public LinearExtrapolation(double[] data)
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||