photo

Zhuoran Han


Last seen: oltre un anno fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

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

oltre 3 anni fa | 0