Converts a sparse matrix in the CSR format to the coordinate format and vice versa (deprecated).
This routine is deprecated. Use the matrix manipulation routinesfrom the
Inspector-executor Sparse BLAS interface instead.
This routine converts a sparse matrix
Astored in the compressed sparse row (CSR) format (3-array variation) to coordinate format and vice versa.
Parameter descriptions are common for all implemented interfaces with the exception of data types that refer here to the FORTRAN 77 standard types. Data types specific to the different interfaces are described in the section
- INTEGERArray, contains the following conversion parameters:job(1)If, the matrix in the CSR format is converted to the coordinate format;=0job(1)if, the matrix in the coordinate format is converted to the CSR format.=1job(1)if, the matrix in the coordinate format is converted to the CSR format, and the column indices in CSR representation are sorted in the increasing order within each row.=2job(1)job(2)If, zero-based indexing for the matrix in CSR format is used;=0job(2)if, one-based indexing for the matrix in CSR format is used.=1job(2)job(3)If, zero-based indexing for the matrix in coordinate format is used;=0job(3)if, one-based indexing for the matrix in coordinate format is used.=1job(3)job(5)- maximum number of the non-zero elements allowed if=job(5)nzmax.=0job(1)- job indicator.job(6)For conversion to the coordinate format:If, only array=1job(6)rowindis filled in for the output storage.If, arrays=2job(6)rowind,colindare filled in for the output storage.If, all arrays=3job(6)rowind,colind,acooare filled in for the output storage.For conversion to the CSR format:If, all arrays=0job(6)acsr,ja,iaare filled in for the output storage.If, only array=1job(6)iais filled in for the output storage.If, then it is assumed that the routine already has been called with the=2job(6), and the user allocated the required space for storing the output arrays=1job(6)acsrandja.
- Dimension of the matrixINTEGER.A.