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: Rik
Subject: [Octave-bug-tracker] [bug #52953] reshape() function should not narrow complex results to real
Date: Tue, 23 Jan 2018 19:34:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52953 (project octave):

                  Status:                    None => Confirmed              
                 Summary: reshaping "complex(0,0)" should not make it real =>
reshape() function should not narrow complex results to real

    _______________________________________________________

Follow-up Comment #4:

Marking as confirmed and re-titling to reflect that the issue is that all
operations which simply change the dimensions of an object should not change
the storage class.

Incidentally, could you try a few more tests?


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


These are all ways to transpose a matrix, and I don't believe that it should
alter the class of the variable 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]