lis_matrix_malloc(3)

NAME
lis_matrix_malloc - allocate the memory for the matrix

SYNOPSIS
#include "lis.h" LIS_INT lis_matrix_malloc(MATRIX A, LIS_INT nnz_row, LIS_INT nnz[]);

DESCRIPTION
allocate the memory for matrix A.

INPUT

A   The matrix

nnz_row
    The average number of nonzero elements

nnz The array of the numbers of the nonzero elements in each row

OUTPUT

None

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

NOTE
Either nnz_row or nnz must be provided.

SEE ALSO
lis(3)

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