lis_matrix_malloc - Man Page

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/

Info

6 Sep 2012 Man Page Lis Library Functions