Welcome to our Support Center

Insert Into Array

Description

Inserts an subarray into n-dimensional array at the point you specify in index and axis.

Warning : A new tensor is created for the output.

 

Input parameters

 

n-dim arrayΒ : class, n-dimensional tensor in which you want to insert an element, row, column, page, and so on.
axis : integer, specifies the axis in the array at which you want to insert the element, row, column, page, and so on.
index : integer, specifies the index in the array at which you want to insert the element, row, column, page, and so on.
n or n-1 dim arrayΒ : class, element, row, column, or page you want to insert into the tensor specified in “n-dim array”.

Output parameters

 

output arrayΒ : class, is the tensor this function returns with the inserted element(s), row(s), column(s), or page(s).

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