Next: Initializing sparse matrix elements, Previous: Sparse matrix allocation, Up: Sparse Matrices [Index]
This function returns element (i,j) of the matrix m. The matrix may be in triplet or compressed format.
This function sets element (i,j) of the matrix m to the value x. The matrix must be in triplet representation.