visad
Class FunctionType
java.lang.Object
|
+--visad.MathType
|
+--visad.FunctionType
- public class FunctionType
- extends MathType
FunctionType is the VisAD data type for functions.
A Function domain type may be either a RealType (for a function with
domain = R) or a RealTupleType (for a function with domain = R^n for
n > 0).
- See Also:
- Serialized Form
REAL_1TO1_FUNCTION
public static final FunctionType REAL_1TO1_FUNCTION
REAL_1TO3_FUNCTION
public static final FunctionType REAL_1TO3_FUNCTION
REAL_1TO4_FUNCTION
public static final FunctionType REAL_1TO4_FUNCTION
FunctionType
public FunctionType(MathType domain,
MathType range)
throws VisADException
- domain must be a RealType or a RealTupleType;
range may be any MathType
FunctionType
FunctionType(MathType domain,
MathType range,
boolean b)
- trusted constructor for initializers
getTextComponents
public TextType[] getTextComponents()
getTextIndices
public int[] getTextIndices()
getDomain
public RealTupleType getDomain()
- if the domain passed to constructor was a RealType,
getDomain returns a RealTupleType with that RealType
as its single component
getRange
public MathType getRange()
getFlat
public boolean getFlat()
getReal
public boolean getReal()
getFlatRange
public RealTupleType getFlatRange()
getRealComponents
public RealType[] getRealComponents()
equals
public boolean equals(Object type)
- Overrides:
- equals in class MathType
hashCode
public int hashCode()
- Returns the hash code of this instance. If
equals(Object type),
then hashCode() == type.hashCode().
- Returns:
- The hash code of this instance.
- Overrides:
- hashCode in class Object
equalsExceptName
public boolean equalsExceptName(MathType type)
- Overrides:
- equalsExceptName in class MathType
equalsExceptNameButUnits
public boolean equalsExceptNameButUnits(MathType type)
throws VisADException
- Overrides:
- equalsExceptNameButUnits in class MathType
cloneDerivative
public MathType cloneDerivative(RealType d_partial)
throws VisADException
- Overrides:
- cloneDerivative in class MathType
binary
public MathType binary(MathType type,
int op,
Vector names)
throws VisADException
- Overrides:
- binary in class MathType
unary
public MathType unary(int op,
Vector names)
throws VisADException
- Overrides:
- unary in class MathType
prettyString
public String prettyString(int indent)
- Overrides:
- prettyString in class MathType
missingData
public Data missingData()
throws VisADException,
RemoteException
- Overrides:
- missingData in class MathType
buildShadowType
public ShadowType buildShadowType(DataDisplayLink link,
ShadowType parent)
throws VisADException,
RemoteException
- Overrides:
- buildShadowType in class MathType