lis_matrix_axpy man page

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/

Info

30 Dec 2014 Man Page Lis Library Functions