lis_matrix_set_coo - associate the arrays in the COO format with the matrix
#include "lis.h"
LIS_INT lis_matrix_set_coo(LIS_INT nnz, LIS_INT
row[], LIS_INT col[], LIS_SCALAR value[], LIS_MATRIX
A);
Associate the arrays in the COO format with matrix A.
- nnz
- The number of nonzero elements
- row, col, value
- The arrays in the COO format
- A
- The matrix
- A
- The matrix associated with the arrays
The following exit values are returned:
- 0
- The process is normally terminated
- unspecified
- An error occurred
After lis_matrix_set_coo is called, the function
lis_matrix_assemble must be called.
lis(3)
http://www.ssisc.org/lis/