Community Profile

photo

Zhuoran Han


Last seen: 1 year ago Active since 2021

Statistics

  • Thankful Level 1
  • First Answer
  • Revival Level 1
  • First Review

View badges

Content Feed

View by

Question


Why these two similar operations (a sparse matrix w/o transpose times a vector) take different time to finish?
n = 1e5; a = sprand(n,n,5/n); v = rand(n,1); tic; for i = 1:1e3, b = a*v; end; toc tic; for i = 1:1e3, c = a'*v; end; toc I...

2 years ago | 2 answers | 0

2

answers

Answered
deleting row and column from very large Sparse matrix efficiently
This is an easy way to deal with boundary conditions in stiffness matrices, have you tried permutation? Suppose your original m...

3 years ago | 0