lis_matrix_malloc(3f)

NAME
lis_matrix_malloc - allocate the memory for the matrix

SYNOPSIS
subroutine lis_matrix_malloc(MATRIX A, LIS_INTEGER nnz_row, LIS_INTEGER nnz[], LIS_INTEGER ierr);

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

NOTE
Either nnz_row or nnz must be provided.

SEE ALSO
lis(3)

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