Add

Description

Computes the sum of the inputs. Type : polymorphic.

Warning : A new tensor is created for the output if you add 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 sum of x and y.

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

Add tensor with a scalar

Add scalar with a tensor

Add a tensor to another tensor

Table of Contents