lis_matrix_axpy(3)

NAME
lis_matrix_axpy - calculate the sum of the matrices

SYNOPSIS
#include "lis.h" LIS_INT lis_matrix_axpy(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B);

DESCRIPTION
Calculate the sum of the matrices B = alpha * A + B.

INPUT

alpha
    The scalar value

A, B
    The matrices

OUTPUT

B   alpha * A + 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
lis(3)

http://www.ssisc.org/lis/