You can use the \(RInt64\) function to obtain a random 64-bit signed integer or a matrix of random 64-bit signed integers.

You can use the \rint64 backslash command to insert this function.

The following variants of this function are available:

  • \(\text{integer } \text{RInt64} \left ( \text{<any value>} \right )\)

  • \(\text{integer matrix } \text{RInt64} \left ( \text{<number rows}, \text{<number columns} \right )\)

The single value variant of the \(\text{RInt64}\) function requires an arbitrary parameter value that is ignored.

The matrix variant of the \(\text{RInt64}\) function requires two values indicating the desired matrix dimensions.

The returned integer value(s) are generated using the currently selected random number generator. The returned value(s) will be uniformly distributed over the range [-9223372036854775808, 9223372036854775807].

Figure 195 shows the basic use of the \(\text{RInt64}\) function.


Figure 195 Example Use Of The RInt64 Function