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

Laurent Mazet mazet at softndesign.org
Wed Apr 22 10:01:19 UTC 2009


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.

Regards,

    Laurent

octave:1> [1, 0.1; 0.68358, 0.72985] * [1; 1i]
ans =

    1.00000 + 0.00000i
    0.68358 + 0.00000i

octave:2> [1, 1i] * [1, 0.1; 0.68358, 0.72985]'
ans =

    1.00000 + 0.10000i   0.68358 + 0.72985i

-- 
Dr. Laurent Mazet   -=-  "Use the source, Luke"  -=-   mazet at softndesign.org






More information about the Pkg-octave-devel mailing list