*createdoublearray2d

Creates a 2D array of doubles for use in a subsequent command.

Syntax

*createdoublearray2d rows cols doubles

Type

HyperMesh Tcl Modify Command

Description

Creates a 2D array of doubles for use in a subsequent command.

Inputs

rows
The number of rows in the array.
cols
The number of columns in the array.
doubles
The doubles to put in the array.

Examples

To create a 2D double array with 2 rows, 3 columns and the values (1.5, 2.5, 3.5) and (5.5, 6.5, 7.5) in each respective row:
*createdoublearray2d 2 3 1.5 2.5 3.5 5.5 6.5 7.5