scal

Description

This function scales the vector x by the scalar alpha and overwrites it with the result. Type : polymorphic.

 

Input parameters

 

 x : class, tensor of a vector with n elements.
incx : integer, stride between consecutive elements of x.
alpha : float, scalar used for multiplication.

Output parameters

 

 x : class, tensor of a vector with n elements.

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

Table of Contents