lis_matrix_xpay - Man Page
calculate the sum of the matrices
Synopsis
#include "lis.h"
LIS_INT lis_matrix_xpay(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B);
Description
Calculate the sum of the matrices B = A + alpha * B.
Input
- alpha
The scalar value
- A, B
The matrices
Output
- B
A + alpha * B (matrix B is overwritten)
Exit Status
The following exit values are returned:
- 0
The process is normally terminated
- unspecified
An error occurred
Note
Matrices A, B must be in the DNS format.
See Also
Info
30 Dec 2014 Man Page Lis Library Functions