Multiplication of Sparse complex matrix and a full matrix

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?

2 Comments

" Will multiplication of elements of B corresponding to the zero elements of A be eliminated?"
What do you mean by "eliminated"? This is not a MATLAB term that I am familiar with.
it means will the mutliplication with zero be saved? Or still the multiplication will occur

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Categories

Find more on Sparse Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!