[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow |
Date: |
Thu, 16 Aug 2018 16:10:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #20, bug #45890 (project octave):
Just few comments.
The matrix A has not exactly NNZ nonzeros (because of repeated entries in the
pattern). This may explain some differences.
In the sum A+B, A and B have the same sparsity pattern. Does octave check for
that and specialize the code? Maybe matlab does it. In finite difference or
element discretizations it is quite natural to sum up matrices with the same
sparsity pattern. I would be in favor of such a specialization, if not already
done.
@Dmitri: in the sparse A*x and A'*x no BLAS is used, just two nested for
loops.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45890>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Marco Caliari, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Dmitri A. Sergatskov, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Mike Miller, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Dmitri A. Sergatskov, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Dmitri A. Sergatskov, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/15
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow,
Marco Caliari <=
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Marco Caliari, 2018/08/28
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/28
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, John W. Eaton, 2018/08/28
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Rik, 2018/08/28