[SciPy-User] Sparse dot differs from numpy dot by 10^5

Jerome Kieffer Jerome.Kieffer at esrf.fr
Fri Sep 27 03:31:39 EDT 2013


On Fri, 27 Sep 2013 07:12:06 +0000
Wagner Sebastian <Sebastian.Wagner.fl at ait.ac.at> wrote:

> When changing some algorithms from dense matrices to sparse matrices I stumbled over a discrepancy between the sparse-version of dot and numpy's dot. All open issues mentioning 'dot' do not apply.

Floating point addition is not commutable ... the order you are summing
is important (in silico) while it is not on the paper.

-- 
Jérôme Kieffer
On-Line Data analysis / Software Group 
ISDD / ESRF
tel +33 476 882 445



More information about the SciPy-User mailing list