|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.LinearPrediction
vec_math.LinearPrediction.Debug
public static final class LinearPrediction.Debug
A debugging class. Used to predict the value of sin(x) for
FUTURE data points at a stepsize STEP, using
PAST number of data points from the past. The number of LP
coefficients used is NUMBER. An offset to the sin function
can be specified, OFFSET.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class vec_math.LinearPrediction |
|---|
LinearPrediction.Debug |
| Field Summary | |
|---|---|
private static int |
FUTURE
The number of data points to predict. |
private static int |
NUMBER
The number of LP coefficients to use. |
private static double |
OFFSET
The angular offset in the sine function. |
private static int |
PAST
The number of data points to derive the LP coefficients from. |
private static double |
STEP
The step size in generating the input data. |
| Constructor Summary | |
|---|---|
LinearPrediction.Debug()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
The entry method for the debug class. |
| Methods inherited from class vec_math.LinearPrediction |
|---|
calculateCoefficients, getCoefficients, getData, getDiscrepancy, predict, setData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int FUTURE
private static final int PAST
private static final int NUMBER
private static final double STEP
private static final double OFFSET
| Constructor Detail |
|---|
public LinearPrediction.Debug()
| Method Detail |
|---|
public static void main(String[] arg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||