public final class EvaluateIntegralCell extends ComputeCell
Constructor and Description |
---|
EvaluateIntegralCell(visad.DataReference integralRef,
visad.DataReference lowerRef,
visad.DataReference upperRef,
visad.Real noData)
Constructs from references to the indefinite integral, lower limit,
upper limit, and a missing-data value.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the definite integral.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public EvaluateIntegralCell(visad.DataReference integralRef, visad.DataReference lowerRef, visad.DataReference upperRef, visad.Real noData) throws visad.VisADException, java.rmi.RemoteException
integralRef
- The indefinite integral reference.lowerRef
- The lower limit reference.upperRef
- The upper limit reference.noData
- The missing data value.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
datums
- The input data. datums[0]
is
the indefinite integral; datums[1]
is the lower limit; and
datums[2]
is the upper limit;Real
.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.