Welcome to our Support Center

asum

Description

This function computes the sum of the absolute values of the elements of vector x. Type : polymorphic.

 

Input parameters

 

 x : class, tensor of a vector with n elements.
incx : integer, stride between consecutive elements of x.

Output parameters

 

result : float, the resulting index, which is 0 if n,incx 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