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.

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