Int64Array

signal TPT.Int64Array(int dim, [string name])

Declares a new assessment array variable of the specified inner type int64

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.Int64Array(dim) leads to a new assessment variable with logical name foo

Returns:

new assessment variable

Examples:

   # create an int64 array variable with name "dv" and set the value of array members individually
   dv = TPT.Int64Array(3);
   dv[0] := 2;
   dv[1](t) := t < 2s ? 1 : 5;
   during TPT.Interval(1s,2s):
     dv[2] := 17;