2
votes
Accepted
When should I write a matrix-vector function to handle the sparse matrix vector multiplication?
Multiplying matrix and a vector using sparse matrix format, such as CSR is not hard, and is a basic and common operation if you write a linear solvers library for sparse linear systems. Take SPARSEKIT ...
2
votes
Accepted
Sparsity-Promoting Convex Optimization Over Simplex
Very interesting question.
One option is to relax the cardinality regularizer to the reciprocal of an infinity norm, i.e., replace $\mathrm{card}(x)$ with $$1 / \|x\|_{\infty}.$$ This yields a non-...
1
vote
When should I write a matrix-vector function to handle the sparse matrix vector multiplication?
Thanks for all your reply, I have done some experiments in matlab and confirmed that matlab indeed uses the sparse matrix-vector multiplication automatically optimally. For example,
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sparse-operator × 4sparse-matrix × 2
linear-solver × 1
iterative-method × 1
convex-optimization × 1
petsc × 1
matrix-factorization × 1
image-processing × 1
inverse-problem × 1