MSR
Sparse matrix in Modified Sparse Row storage format.
INTEGER :: JA( : )
REAL :: A( : )
A(1:n)
contains the diagonal of the matrix.A(n+2:nnz)
contains the nondiagonal elements of the matrix, stored ROWWISE.JA(n+2:nnz)
contains their column indices.JA(1:n+1)
Contains the pointer array for the nondiagonal, elements inA(n+1:nnz)
andJA(n+2:nnz)
, i.e., fori .LE. n+1
,JA(i)
points to beginning of rowi
in arraysA, JA
.- Here,
nnz
= number of nonzero elements+1.