lis_matrix_set_bsr - Man Page
associate the arrays in the BSR format with the matrix
Synopsis
#include "lis.h"
LIS_INT lis_matrix_set_bsr(LIS_INT bnr, LIS_INT bnc, LIS_INT bnnz, LIS_INT bptr[], LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);
Description
Associate the arrays in the BSR format with matrix A.
Input
- bnr
The row block size
- bnc
The column block size
- bnnz
The number of nonzero blocks
- bptr, bindex, value
The arrays in the BSR format
- A
The matrix
Output
- A
The matrix associated with the arrays
Exit Status
The following exit values are returned:
- 0
The process is normally terminated
- unspecified
An error occurred
Note
After lis_matrix_set_bsr is called, the function lis_matrix_assemble must be called.
See Also
Info
6 Sep 2012 Man Page Lis Library Functions