MATLAB: Multiplication of Sparse complex matrix and a full matrix

sparse

Let A be a sparse matrix and B be a full matrix . C = A.*B. Will multiplication of elements of B corresponding to the zero elements of A be eliminated?

Best Answer

The sparse multiplication will skip multiplying the elements that are known to be 0 in the sparse matrix.