|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.data.in.ArithProg
visad.data.in.LonArithProg
public final class LonArithProg
Provides support for determining if a sequence of values is an arithmetic progression of longitude values and, if so, the progression parameters.
| Field Summary |
|---|
| Fields inherited from class visad.data.in.ArithProg |
|---|
dEps, fEps, first, isConsistent, last, meanDel, n |
| Constructor Summary | |
|---|---|
LonArithProg()
|
|
| Method Summary | |
|---|---|
boolean |
accumulate(double[] values)
Accumulates a set of doubles. |
boolean |
accumulate(float[] values)
Accumulates a set of floats. |
static void |
main(java.lang.String[] args)
Tests this class. |
| Methods inherited from class visad.data.in.ArithProg |
|---|
accumulate, accumulate, getCommonDifference, getFirst, getLast, getNumber, isConsistent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LonArithProg()
| Method Detail |
|---|
public boolean accumulate(float[] values)
throws VisADException
accumulate in class ArithProgvalues - The values to accumulate.
VisADException - ArithProg.isConsistent() was false before this
method was invoked.
public boolean accumulate(double[] values)
throws VisADException
accumulate in class ArithProgvalues - The values to accumulate.
VisADException - ArithProg.isConsistent() was false before this
method was invoked.
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - Runtime arguments. Ignored.
java.lang.Exception - Something went wrong.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||