GET_SPARSE_MATRIX_DATA
Utility/Data Access SubroutineReturns the data from a sparse Reference_Matrix element.
Use
The function can be called by any user subroutine. There is a separate function for a full Reference_Matrix element called GET_FULL_MATRIX_DATA.
Format
- Fortran Calling Syntax
- CALL GET_SPARSE_MATRIX_DATA(id, rows, cols, vals, size, ierr)
- C/C++ Calling Syntax
- c_get_sparse_matrix_data(id, rows, cols, vals, size, ierr)
- Python Calling Syntax
- [rows, cols, vals, ierr] = py_get_sparse_matrix_data(id, size)
- MATLAB Calling Syntax
- [rows, cols, vals, ierr] = m_get_sparse_matrix_data(id, size)
Attributes
- id
- [integer]
- size
- [integer]
Output
- rows
- [integer]
- cols
- [integer]
- vals
- [double precision]
- ierr
- [integer]