ptolemy.domains.sdf.lib
Class SequenceToMatrix.FunctionTerm
java.lang.Object
ptolemy.data.type.MonotonicFunction
ptolemy.domains.sdf.lib.SequenceToMatrix.FunctionTerm
- All Implemented Interfaces:
- InequalityTerm
- Enclosing class:
- SequenceToMatrix
private static class SequenceToMatrix.FunctionTerm
- extends MonotonicFunction
A monotonic function of the input port type. The result of the
function is a matrix type with elements that are the same as
the input type. If there is no such matrix type, then the
result is unknown.
Constructor Summary |
private |
SequenceToMatrix.FunctionTerm(TypedIOPort port)
The constructor takes a port argument so that the clone()
method can construct an instance of this class for the
input port on the clone. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_port
private TypedIOPort _port
SequenceToMatrix.FunctionTerm
private SequenceToMatrix.FunctionTerm(TypedIOPort port)
- The constructor takes a port argument so that the clone()
method can construct an instance of this class for the
input port on the clone.
- Parameters:
port
- The port
getValue
public java.lang.Object getValue()
- Return the function result.
- Specified by:
getValue
in interface InequalityTerm
- Specified by:
getValue
in class MonotonicFunction
- Returns:
- A Type.
- See Also:
MonotonicFunction.setValue(Object)
getVariables
public InequalityTerm[] getVariables()
- Return the variables in this term. If the type of the input port
is a variable, return a one element array containing the
InequalityTerm of that port; otherwise, return an array of zero
length.
- Specified by:
getVariables
in interface InequalityTerm
- Specified by:
getVariables
in class MonotonicFunction
- Returns:
- An array of InequalityTerm.