lis_array_nrm2 - Man Page

calculate the 2-norm of the vector

Synopsis

#include "lis.h"

LIS_INT lis_array_nrm2(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);

Description

Calculate the 2-norm of vector x.

Input

n

The size of the vector

x

The array that stores the vector

Output

value

The 2-norm of the array

Exit Status

The following exit values are returned:

0

The process is normally terminated

unspecified

An error occurred

See Also

lis(3)

http://www.ssisc.org/lis/

Info

3 Dec 2014 Man Page Lis Library Functions