Welcome to our Support Center

Substract

Description

Computes the difference of the inputs. Type : polymorphic.

Warning : A new tensor is created for the output if you substract two arrays together.

 

Input parameters

 

Β x : class, n-dimensional tensor (can be a scalar).
y : float, scalar (can be a tensor).

Output parameters

 

Β x – y : class, the difference between x and y.

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).

Substract tensor with a scalar

Substract scalar with a tensor

Substract a tensor to another tensor

Table of Contents
Index