Initialize Array

Creates an n-dimensional array in which every element equals a specified value.

1378

Inputs/Outputs

datatype_icon

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.

datatype_icon

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.

datatype_icon

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.