Welcome to our Support Center

axpy

Description

This function multiplies the vector x by the scalar alpha and adds it to the vector y overwriting the latest vector with the result. Type : polymorphic.

 

Input parameters

 

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

Output parameters

 

Β y : class, tensor of a vector with n elements.

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