public interface RealIface extends ScalarIface
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE| Modifier and Type | Method and Description |
|---|---|
Data |
adjustSamplingError(Data error,
int error_mode)
Returns a clone, except that the ErrorEstimate of the clone
is adjusted for a given error mode and uncertainty.
|
Real |
cloneButUnit(Unit u)
Returns a clone of this instance but with a new Unit.
|
Real |
cloneButValue(double value)
Returns a clone of this instance with a different numeric value.
|
int |
compareTo(Object object)
Compares this Real to another.
|
ErrorEstimate |
getError()
Returns the uncertainty in the numeric value of this instance.
|
Unit |
getUnit()
Returns the unit of this instance.
|
double |
getValue()
Returns the numeric value in the unit of
getUnit(). |
double |
getValue(Unit unit_out)
Returns the numeric value in a particular unit.
|
int |
hashCode()
Returns the hash code of this Real.
|
String |
toString() |
String |
toValueString()
Returns a string that represents just the value portion of this Real -- but
with full semantics (e.g.
|
equalsabs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, local, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unaryaddReference, removeReferencedouble getValue()
getUnit().getUnit().double getValue(Unit unit_out) throws VisADException
unit_out - The desired unit for the numeric value. Must be
convertible with getUnit().VisADExceptionUnit getUnit()
ErrorEstimate getError()
Data adjustSamplingError(Data error, int error_mode) throws VisADException, RemoteException
adjustSamplingError in interface Dataerror - The uncertainty by which to adjust the clone.error_mode - The mode for propagating errors. See Data.VisADException - VisAD failure.RemoteException - Java RMI failure.Real cloneButValue(double value) throws VisADException
value - The numeric value for the clone.VisADException - VisAD failure.Real cloneButUnit(Unit u) throws VisADException
u - The unit for the clone.VisADExceptionString toValueString()
int compareTo(Object object)
object - The other Real to compare against. It shall be
a Real with a compatible (i.e. convertible)
unit.
ErrorEstimate.compareTo() method is used
to break the tie.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.