public final class LonArithProg extends ArithProg
| Constructor and Description |
|---|
LonArithProg() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
accumulate, accumulate, getCommonDifference, getFirst, getLast, getNumber, isConsistentpublic boolean accumulate(float[] values)
throws VisADException
accumulate in class ArithProgvalues - The values to accumulate.VisADException - ArithProg.isConsistent() was false before this
method was invoked.values.length more than previously
if the function returns true., A subsequent getLast() will return the
value argument if the function returns true.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.values.length more than previously
if the function returns true., A subsequent getLast() will return the
value argument if the function returns true.public static void main(java.lang.String[] args)
throws java.lang.Exception
args - Runtime arguments. Ignored.java.lang.Exception - Something went wrong.