lis_array_xpay.3f - Man Page
calculate the sum of the vectors
Synopsis
subroutine lis_array_xpay(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR alpha, LIS_SCALAR y(), LIS_INTEGER ierr);
Description
Calculate the sum of the vectors y = x + alpha * y.
Input
- n
The size of the vectors
- alpha
The scalar value
- x, y
The arrays that store the vectors
Output
- y
x + alpha * y (vector y is overwritten)
See Also
Info
3 Dec 2014 Man Page Lis Library Functions