Package | Description |
---|---|
ptolemy.data |
Packages for manipulating data that passes between actors.
|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
Modifier and Type | Method and Description |
---|---|
static DoubleMatrixToken |
DoubleMatrixToken.convert(Token token)
Convert the specified token into an instance of DoubleMatrixToken.
|
Modifier and Type | Method and Description |
---|---|
static DoubleMatrixToken |
UtilityFunctions.gaussian(double mean,
double standardDeviation,
int rows,
int columns)
Return a matrix of Gaussian random numbers.
|
static DoubleMatrixToken |
UtilityFunctions.random(int rows,
int columns)
Return a matrix of IID random numbers with value greater than
or equal to 0.0 and less than 1.0.
|
static DoubleMatrixToken |
UtilityFunctions.readMatrix(java.lang.String filename)
Deprecated.
Use eval(readFile()) instead.
|
static DoubleMatrixToken |
UtilityFunctions.zeroMatrix(int rows,
int columns)
Deprecated.
Use zeroMatrixDouble instead.
|
static DoubleMatrixToken |
UtilityFunctions.zeroMatrixDouble(int rows,
int columns)
Return a double zero matrix with the given number of rows and
columns.
|
Modifier and Type | Method and Description |
---|---|
static ArrayToken |
UtilityFunctions.multivariateGaussian(ArrayToken mean,
DoubleMatrixToken covariance)
Generate a sample from a multivariate Gaussian distribution.
|