set_variable
Create or overwrite a workspace variable with numeric, boolean, or array data, optionally specifying data type (integer, float, complex).
Instructions
Create or overwrite a workspace variable.
data may be a number, a boolean, a 1-D list (row vector), or a 2-D
nested list (matrix). Without dtype, numbers become double and booleans
become logical. dtype may request an integer type (int8..uint64),
float32/float64, or a complex type (complex64/complex128, with
data={"real": <array>, "imag": <array>}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| dtype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||