Welcome to our Support Center

dot

Description

This function computes the dot product of vectors x and y. 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.

Output parameters

 

result : float, the resulting dot product, which is 0.0 if number of elements in the vectors x and y is <= 0.

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