*createintarray2d
Creates a 2D array of integers for use in a subsequent command.
Syntax
*createintarray2d rows cols integers
Type
HyperMesh Tcl Modify
Description
Creates a 2D array of integers for use in a subsequent command.
Inputs
- rows
- The number of rows in the array.
- cols
- The number of columns in the array.
- integers
- The integers to put in the array.
Examples
To create a 2D integer array with 2 rows, 3 columns and the values (1, 2, 3) and (5, 6, 7)
in each respective row:
*createintarray2d 2 3 1 2 3 5 6 7