Int8Array
signal TPT.Int8Array(int dim, [string name])
Declares a new assessment array variable of the specified inner type int8
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.Int8Array(dim)
leads to a new
assessment variable with logical name foo
Returns:
new assessment variable
Examples:
# create an int8 array variable with name "dv" and set the value of array members individually dv = TPT.Int8Array(3); dv[0] := 2; dv[1](t) := t < 2s ? 1 : 5; during TPT.Interval(1s,2s): dv[2] := 17;