Package | Description |
---|---|
ptolemy.data |
Packages for manipulating data that passes between actors.
|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
Modifier and Type | Class and Description |
---|---|
class |
SmoothToken
A double-valued token that contains zero or more derivatives, representing
the value of a function of time at a particular time.
|
Modifier and Type | Field and Description |
---|---|
static DoubleToken |
DoubleToken.NIL
A token that represents a missing value.
|
static DoubleToken |
DoubleToken.ONE
A DoubleToken with the value 1.0.
|
static DoubleToken |
DoubleToken.ZERO
A DoubleToken with the value 0.0.
|
Modifier and Type | Method and Description |
---|---|
static DoubleToken |
DoubleToken.convert(Token token)
Convert the specified token into an instance of DoubleToken.
|
Modifier and Type | Method and Description |
---|---|
static double |
SmoothToken.derivativeValue(DoubleToken token,
int n)
Return the n-th derivative of the specified token.
|
static int |
SmoothToken.maxOrder(DoubleToken arg1,
DoubleToken arg2)
Return the maximum number of specified derivatives for the two tokens.
|
static int |
SmoothToken.order(DoubleToken token)
Return the number of specified derivatives for the token.
|
Modifier and Type | Method and Description |
---|---|
static DoubleToken |
UtilityFunctions.gaussian(double mean,
double standardDeviation)
Return a Gaussian random number.
|