lis_array_axpyz - Man Page

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/

Info

3 Dec 2014 Man Page Lis Library Functions