[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sparse + complex arithmetic inconsistency
From: |
Rafael Laboissiere |
Subject: |
Re: Sparse + complex arithmetic inconsistency |
Date: |
Fri, 30 Mar 2007 15:18:49 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* David Bateman <address@hidden> [2007-03-30 14:13]:
> Michael Goffioul wrote:
> >
> > I already reported this kind of problem some months ago. This is
> > due to the complex arthmetic implementation and it also appears
> > under MSVC. See
> > http://www.nabble.com/Sparse-matrix-problem-tf2844890.html#a8149128
> >
> > You can even illustrate the problem without the use of sparse
> > matrices, like:
> >
> > [1+i 1+i] ./ [0 i]
> >
> Following the bug report trail from this thread leads to
>
> [snip]
>
> No resolution from the GCC people is proposed, and all of the above bugs
> are open. Hopefully, one day the gcc/g++ complex classes will be
> mathematically correct :-(
Does the gcc/g++ bug have something to do with the fact that the two
following lines produce different results in Octave (but shouldn't):
octave2.9:1> ([1+i 1+i] ./ [0 i]) (1)
ans = NaN - NaNi
octave2.9:2> (1+i) / 0
warning: division by zero
ans = Inf + Infi
It looks like a problem in Octave.
--
Rafael
- Re: Debian packages for Octave 2.9.10 available in experimental, (continued)
- Re: Debian packages for Octave 2.9.10 available in experimental, David Bateman, 2007/03/29
- Re: [Pkg-octave-devel] Re: Debian packages for Octave 2.9.10 available in experimental, Rafael Laboissiere, 2007/03/29
- Re: [Pkg-octave-devel] Re: Debian packages for Octave 2.9.10 available in experimental, David Bateman, 2007/03/29
- Re: [Pkg-octave-devel] Re: Debian packages for Octave 2.9.10 available in experimental, Rafael Laboissiere, 2007/03/30
- Re: [Pkg-octave-devel] Re: Debian packages for Octave 2.9.10 available in experimental, David Bateman, 2007/03/30
- Sparse + complex arithmetic inconsistency, Rafael Laboissiere, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, David Bateman, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, David Bateman, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, Michael Goffioul, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, David Bateman, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency,
Rafael Laboissiere <=
- Re: Sparse + complex arithmetic inconsistency, Michael Goffioul, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, Rafael Laboissiere, 2007/03/30
- Re: Sparse + complex arithmetic inconsistency, John W. Eaton, 2007/03/31
- Re: Sparse + complex arithmetic inconsistency, David Bateman, 2007/03/31
- Re: Sparse + complex arithmetic inconsistency, Rafael Laboissiere, 2007/03/31
- Re: Sparse + complex arithmetic inconsistency, Paul Kienzle, 2007/03/31
- Re: Sparse + complex arithmetic inconsistency, David Bateman, 2007/03/31