lis_matrix_set_bsc(3)

NAME
lis_matrix_set_bsc - associate the arrays in the BSC format with the matrix

SYNOPSIS
#include "lis.h" LIS_INT lis_matrix_set_bsc(LIS_INT bnr, LIS_INT bsc, LIS_INT bnnz, LIS_INT bptr[], LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);

DESCRIPTION
Associate the arrays in the BSC 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 BSC 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_bsc is called, the function lis_matrix_assemble must be called.

SEE ALSO
lis(3)

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