Initialize Array

Description

Creates a n-dimensional tensor in which every element is initialized to the value of element. Type : polymorphic.

 

Input parameters

 

element : float, value used to initialize all elements of initialized tensor.
shape : array, the size of dimensions 0..n-1.

Output parameters

 

initialized array : class, tensor of the same type as the type you wire to element.

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Table of Contents