photo

Zhuoran Han


Last seen: plus d'un an il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

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

Afficher les badges

Feeds

Afficher par

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

environ 2 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 3 ans il y a | 0