Package ucar.unidata.view.sounding
Class EvaluateIntegralCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.EvaluateIntegralCell
Computes a definite integral by evaluating an indefinite integral.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:30 $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluateIntegralCell(DataReference integralRef, DataReference lowerRef, DataReference upperRef, Real noData) Constructs from references to the indefinite integral, lower limit, upper limit, and a missing-data value. -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
EvaluateIntegralCell
public EvaluateIntegralCell(DataReference integralRef, DataReference lowerRef, DataReference upperRef, Real noData) throws VisADException, RemoteException Constructs from references to the indefinite integral, lower limit, upper limit, and a missing-data value.- Parameters:
integralRef- The indefinite integral reference.lowerRef- The lower limit reference.upperRef- The upper limit reference.noData- The missing data value.- Throws:
VisADException- if a VisAD failure occurs.RemoteException- if a Java RMI failure occurs.
-
-
Method Details
-
compute
Computes the definite integral.- Specified by:
computein classComputeCell- Parameters:
datums- The input data.datums[0]is the indefinite integral;datums[1]is the lower limit; anddatums[2]is the upper limit;- Returns:
- The definite integral value
(a
Real. - Throws:
ClassCastException- if an input data reference has the wrong type of data object.TypeException- if a VisAD data object has the wrong type.VisADException- if a VisAD failure occurs.RemoteException- if a Java RMI failure occurs.
-