[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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@softndesign.org






Reply to: