FloatArray
signal TPT.FloatArray(int dim, [string name])
Declares a new assessment array variable of the specified inner type float
Parameters:
dim dimension of the newly created array
[name]
(optional)
logical name of the new assessment variable. This parameter is optional. If
not specified, the name will be automatically derived from the variable name it is
assigned to. Example foo = TPT.FloatArray(dim)
leads to a
new assessment variable with logical name foo
Returns:
new assessment variable
Examples:
# create a float array variable with name "dv" and set the value of array members individually dv = TPT.FloatArray(3); dv[0] := 2; dv[1](t) := t < 2s ? 1 : 5; during TPT.Interval(1s,2s): dv[2] := 17;