Stype == SLU_NC
(Also known as Harwell-Boeing sparse matrix format)
Zero-based indexing is used; colptr[] has ncol+1 entries, the last one pointing beyond the last column, so that colptr[ncol] = nnz.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=C_INT), | public | :: | nnz | number of nonzeros in the matrix |
|||
type(C_PTR), | public | :: | nzval | pointer to array of nonzero values, packed by column |
|||
type(C_PTR), | public | :: | rowind | pointer to array of row indices of the nonzeros |
|||
type(C_PTR), | public | :: | colptr | pointer to array of beginning of columns in nzval[] and rowind[] |
type, bind(c) :: NCFORMAT
integer(kind=C_INT) :: nnz !! *number of nonzeros in the matrix*
type(C_PTR) :: nzval !! *pointer to array of nonzero values, packed by column*
type(C_PTR) :: rowind !! *pointer to array of row indices of the nonzeros*
type(C_PTR) :: colptr !! *pointer to array of beginning of columns in nzval[] and rowind[]*
endtype NCFORMAT