id | An integer variable that specifies the ID of the corresponding MATRIX statement. |
size | An integer variable that specifies the size of the MATRIX. GET_SPARSE_MATRIX_DATA uses this value to compare against the MATRIX’s true size; a check for a valid call. |
rows | An integer array of size size that contains the row indices corresponding to the MATRIX values stored in vals. | |
cols | An integer array of size size that contains the column indices corresponding to the MATRIX values stored in vals. | |
vals | A double-precision array of size size that contains the values from the MATRIX statement in sparse form. | |
ierr | An integer variable that indicates the success of the call to GET_SPARSE_MATRIX_DATA: | |
■ierr=0 | Successful | |
■ierr=1 | Failed, no MATRIX having an identifier of ID exists in the dataset | |
■ierr=2 | Failed, the value of size’ does not match the size of the MATRIX | |
Tip: | Call GET_MATRIX_INFO to get the size and type of the MATRIX. |