Welcome to our Support Center

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.

Example

All these exemples 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 PERRINE library to run it).

Table of Contents
Index