Multiply

Description

Returns the product of the inputs. Type : polymorphic.

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

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). x : class, n-dimensional tensor (can be a scalar).
Documentation illustration (illustration unavailable in the archive). y : float, scalar (can be a tensor).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). x * y : class, the product of x multiplied by 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).

Multiply tensor with a scalar

Documentation illustration (illustration unavailable in the archive).

Multiply scalar with a tensor

Documentation illustration (illustration unavailable in the archive).

Multiply a tensor to another tensor

Documentation illustration (illustration unavailable in the archive).