lis_matrix_xpay man page

lis_matrix_xpay ā€” 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

lis(3)

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

Info

30 Dec 2014 Man Page Lis Library Functions