Clear Filters
Clear Filters

Multiplication of Sparse complex matrix and a full matrix

4 views (last 30 days)
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
Stephen23
Stephen23 on 26 Aug 2018
Edited: Stephen23 on 26 Aug 2018
" 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.
D_coder
D_coder on 26 Aug 2018
it means will the mutliplication with zero be saved? Or still the multiplication will occur

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 26 Aug 2018
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!