![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10973278_1548762029889_DEF.jpg)
Zhuoran Han
Followers: 0 Following: 0
Feeds
提问
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 前 | 2 个回答 | 0
2
个回答已回答
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...
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 前 | 0