[Pkg-octave-devel] Bug#525113: Bug#525113: Bug#525113: Bug#525113: Inconsistant complex matrix multiplication

John W. Eaton jwe at octave.org
Thu Apr 23 00:07:07 UTC 2009


On 23-Apr-2009, Rafael Laboissiere wrote:

| * Thomas Weber <thomas.weber.mail at gmail.com> [2009-04-22 23:04]:
| 
| > On Wed, Apr 22, 2009 at 12:01:19PM +0200, Laurent Mazet wrote:
| > > Package: octave3.0
| > > Version: 1:3.0.1-7
| > > Arch: i386
| > > Severity: grave
| > >
| > > Hi,
| > >
| > > I've just realized that I can multiply a real 2x2 matrix by a complex vector.
| > 
| > Uh, yes. Why shouldn't this work? Or in other words, how do you
| > distinguish the real matrix from a complex matrix with its complex
| > coefficients being zero
| > 
| > [ 1, 2; 3,4] is the same as [1+0i, 2+0i; 3+0i, 4+0i], isn't it?
| 
| I think Laurent meant "I've just realized that I CANNOT multiply [...]"

And the multiplication appeared to work, but gave the wrong answer.  I
don't remember this bug, but I can't duplicate it now on my system.
If it wasn't a bug that was fixed in Octave, then I'd guess it was a
BLAS bug?  Octave just uses BLAS to perform these mutliplications.

jwe





More information about the Pkg-octave-devel mailing list