lis_output(3)

NAME
lis_output - write the matrix and vector data

SYNOPSIS
#include "lis.h" LIS_INT lis_output(LIS_MATRIX A, LIS_VECTOR b, LIS_VECTOR x, LIS_INT format, char *filename);

DESCRIPTION
Write the matrix and vector data to the external file.

INPUT

A   The matrix

b   The right hand side vector (If no vector is written to the external file, then NULL must be input.)

x   The solution (If no vector is written to the external file, then NULL must be input.)

format

    LIS_FMT_MM
        The Matrix Market format

filename
    The destination file

OUTPUT

None

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

SEE ALSO
lis(3)

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