|
From: | Bill Lash |
Subject: | [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs |
Date: | Mon, 23 Jan 2017 00:43:07 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #2, bug #50124 (project octave): I think the patch below fixes the issue. I am curious if there is a better way to rearrange the z matrix than the way I did it. Basically idx contains columns of numbers between 1 and 7 in my test case, and the intent is to rearrange each column of z according to the corresponding column of idx. I created midx which creates an array of pairs of coordinates. Comments are welcome. (file #39534) _______________________________________________________ Additional Item Attachment: File name: cplxpair.patch Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50124> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |