Welcome to our Support Center

nrm2

Description

This function computes the Euclidean norm of the 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 norm, which is 0.0 if n,incx <=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