lis_array_axpyz(3)

NAME
lis_array_axpyz - calculate the sum of the vectors

SYNOPSIS
#include "lis.h" LIS_INT lis_array_axpyz(LIS_INT n, LIS_SCALAR alpha, LIS_SCALAR x[], LIS_SCALAR y[], LIS_SCALAR z[]);

DESCRIPTION
Calculate the sum of the vectors z = alpha * x + y.

INPUT

n   The size of the vectors

alpha
    The scalar value

x, y
    The arrays that store the vectors

OUTPUT

z   alpha * x + y

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/