lis_vector_axpy - Man Page

calculate the sum of the vectors

Synopsis

#include "lis.h"

LIS_INT lis_vector_axpy(LIS_SCALAR alpha, LIS_VECTOR x, LIS_VECTOR y);

Description

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

Input

alpha

The scalar value

x, y

The vectors

Output

y

alpha * x + y (vector y is overwritten)

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

6 Sep 2012 Man Page Lis Library Functions