Next: Sparse Matrices Initializing Elements, Previous: Sparse Matrices 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.
This function returns a pointer to the (i,j) element of the matrix m. If the (i,j) element is not explicitly stored in the matrix, a null pointer is returned.