lis_array_nrm1(3)

NAME
lis_array_nrm1 - calculate the 1-norm of the vector

SYNOPSIS
#include "lis.h" LIS_INT lis_array_nrm1(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);

DESCRIPTION
Calculate the 1-norm of vector x.

INPUT

n   The size of the vector

x   The array that stores the vector

OUTPUT

value
    The 1-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/