visad
Interface TupleIface

All Superinterfaces:
Data, Thing
All Known Subinterfaces:
RealTupleIface, RemoteClientTuple, RemoteNodeTuple, RemoteTupleIface
All Known Implementing Classes:
EarthLocationTuple, JamaCholeskyDecomposition, JamaEigenvalueDecomposition, JamaLUDecomposition, JamaQRDecomposition, JamaSingularValueDecomposition, LatLonTuple, NamedLocationTuple, RealTuple, RemoteClientTupleImpl, RemoteNodeTupleImpl, Tuple

public interface TupleIface
extends Data

TupleIface is the VisAD data interface for vectors.


Field Summary
 
Fields inherited from interface visad.Data
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
 
Method Summary
 Data adjustSamplingError(Data error, int error_mode)
          return a Tuple that clones this, except its ErrorEstimate-s are adjusted for sampling errors in error
 Data binary(Data data, int op, MathType new_type, int sampling_mode, int error_mode)
          general binary operation between this and data; op may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data types; new_type is the MathType of the result; sampling_mode may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGE; error_mode may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS
 DataShadow computeRanges(ShadowType type, DataShadow shadow)
          recursive version of computeRanges; would like 'default' visibility here, but must be declared 'public' because it is defined in the Data interface
 Data getComponent(int i)
          return component for i between 0 and getDimension() - 1
 int getDimension()
          return number of components
 Real[] getRealComponents()
           
 boolean isMissing()
          a method to tell whether data object has a missing value
 java.lang.String longString(java.lang.String pre)
          generates a longer string than generated by toString, indented by pre (a string of blanks)
 Data unary(int op, MathType new_type, int sampling_mode, int error_mode)
          general unary operation; operation may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data types; new_type is the MathType of the result; sampling_mode may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGE; error_mode may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS
 
Methods inherited from interface visad.Data
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, 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
 
Methods inherited from interface visad.Thing
addReference, removeReference
 

Method Detail

getRealComponents

Real[] getRealComponents()
                         throws VisADException,
                                java.rmi.RemoteException
Throws:
VisADException
java.rmi.RemoteException

getDimension

int getDimension()
                 throws java.rmi.RemoteException
return number of components

Throws:
java.rmi.RemoteException

getComponent

Data getComponent(int i)
                  throws VisADException,
                         java.rmi.RemoteException
return component for i between 0 and getDimension() - 1

Throws:
VisADException
java.rmi.RemoteException

isMissing

boolean isMissing()
                  throws java.rmi.RemoteException
Description copied from interface: Data
a method to tell whether data object has a missing value

Specified by:
isMissing in interface Data
Throws:
java.rmi.RemoteException

binary

Data binary(Data data,
            int op,
            MathType new_type,
            int sampling_mode,
            int error_mode)
            throws VisADException,
                   java.rmi.RemoteException
Description copied from interface: Data
general binary operation between this and data; op may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data types; new_type is the MathType of the result; sampling_mode may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGE; error_mode may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS

Specified by:
binary in interface Data
Throws:
VisADException
java.rmi.RemoteException

unary

Data unary(int op,
           MathType new_type,
           int sampling_mode,
           int error_mode)
           throws VisADException,
                  java.rmi.RemoteException
Description copied from interface: Data
general unary operation; operation may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data types; new_type is the MathType of the result; sampling_mode may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGE; error_mode may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS

Specified by:
unary in interface Data
Throws:
VisADException
java.rmi.RemoteException

computeRanges

DataShadow computeRanges(ShadowType type,
                         DataShadow shadow)
                         throws VisADException,
                                java.rmi.RemoteException
Description copied from interface: Data
recursive version of computeRanges; would like 'default' visibility here, but must be declared 'public' because it is defined in the Data interface

Specified by:
computeRanges in interface Data
Throws:
VisADException
java.rmi.RemoteException

adjustSamplingError

Data adjustSamplingError(Data error,
                         int error_mode)
                         throws VisADException,
                                java.rmi.RemoteException
return a Tuple that clones this, except its ErrorEstimate-s are adjusted for sampling errors in error

Specified by:
adjustSamplingError in interface Data
Throws:
VisADException
java.rmi.RemoteException

longString

java.lang.String longString(java.lang.String pre)
                            throws VisADException,
                                   java.rmi.RemoteException
Description copied from interface: Data
generates a longer string than generated by toString, indented by pre (a string of blanks)

Specified by:
longString in interface Data
Throws:
VisADException
java.rmi.RemoteException