Next: Sparse Matrices Properties, Previous: Sparse Matrices Exchanging Rows and Columns, Up: Sparse Matrices [Index]
This function computes the sum c = a + b. The three matrices must have the same dimensions and be stored in a compressed format.
This function scales all elements of the matrix m by the constant factor x. The result m(i,j) \leftarrow x m(i,j) is stored in m.