|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #42688] isdiag, isbanded, istril, istriu functions missing in Octave |
Date: | Mon, 07 Jul 2014 16:19:11 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 |
Update of bug #42688 (project octave): Status: Patch Submitted => In Progress _______________________________________________________ Follow-up Comment #4: @Massimliano: I committed your changeset here (http://hg.savannah.gnu.org/hgweb/octave/rev/49961d67e4b9). I changed '~' to '!' for logical not as that is the Octave convention. I also removed the third return argument from find() function calls since you weren't using it. I changed isnumeric() to isreal() when checking whether LOWER and UPPER are acceptable inputs to isbanded(). Do you have access to Matlab to run a few more tests? Right now we are checking whether the matrix is numeric or logical. Often Matlab will accept character matrices as well. Does this code return true? isdiag (char ([65, 0; 0, 65])) Also, if the test is only for structure Matlab often accepts cell arrays as well. What does Matlab return for A = cell (2,2); A(1,1) = 1; A(2,2) = 2; isdiag (A) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42688> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |