Welcome to our Support Center

Delete From Array

Description

Deletes an element or subarray from n-dimensional array of length elements starting at index. Returns the edited array in array w/ subset deleted and the deleted element or subarray in deleted portion.

Warning : Two new tensors is created for the outputs.

 

Input parameters

 

n-dim array : class, n-dimensional tensor from which you want to delete element(s), row(s), column(s), page(s), and so on.
axis : integer, specifies axis what you want to delete from the array, such as an element, row, column, or page.
lenght : integer, determines how many elements, rows, columns, or pages to delete. The default length is one element.
index : integer, specifies index what you want to delete from the array, such as an element, row, column, or page.

Output parameters

 

array w/ subset deleted : class, n-dimensional tensor returned with the deleted element(s), row(s), column(s), or page(s).
deleted portion : class, deleted n-dimensional tensor.

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