photo

Zhuoran Han


Last seen: ungefär ett år ago Active since 2021

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

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...

nästan 2 år 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...

mer än 3 år ago | 0