lis_matrix_set_csc - Man Page

associate the arrays in the CSC format with the matrix

Synopsis

#include "lis.h"

LIS_INT lis_matrix_set_csc(LIS_INT nnz, LIS_INT ptr[], LIS_INT index[], LIS_SCALAR value[], LIS_MATRIX A);

Description

Associate the arrays in the CSC format with matrix A.

Input

nnz

The number of nonzero elements

ptr, index, value

The arrays in the CSC 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_csc is called, the function lis_matrix_assemble must be called.

See Also

lis(3)

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

Info

6 Sep 2012 Man Page Lis Library Functions