Initialize Array
- Updated2023-02-17
- 2 minute(s) read
Initialize Array
Creates an n-dimensional array in which every element equals a specified value.

Inputs/Outputs

element
The value used to initialize all elements of initialized array. element can be any scalar type.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

dimension size
The number of elements in the dimension. This node creates an empty array if any dimension size is less than or equal to 0. You must have n dimension size terminals for n dimensions.

initialized array
An array in which every element is initialized to the value of element.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.