octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52953] reshape() function should not narrow c


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #52953] reshape() function should not narrow complex results to real
Date: Tue, 23 Jan 2018 23:55:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #5, bug #52953 (project octave):

2015b and 2014b to the same thing:

>> x = complex (0,0);
>> y = x.'
y =
            0 +          0i
>> y = x'
y =
            0 +          0i
>> y = permute (x, [2 1])
y =
            0 +          0i
>> 


"imag(x')" is "-0" as you'd expect (but recall Matlab does not display those).
 But its detectable in the usual way ("1/imag(x')").


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52953>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]