lis_matrix_xpay(3f)

NAME
lis_matrix_xpay - calculate the sum of the matrices

SYNOPSIS
subroutine lis_matrix_xpay(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B, LIS_INTEGER ierr);

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)

NOTE
Matrices A, B must be in the DNS format.

SEE ALSO
lis(3)

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