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

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

[Octave-bug-tracker] [bug #42487] issymmetric incompatible with Matlab


From: Massimiliano Fasi
Subject: [Octave-bug-tracker] [bug #42487] issymmetric incompatible with Matlab
Date: Sun, 21 Sep 2014 11:07:53 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0

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

You're right again. It depends on the fact that logical matrices returned 0
when tested with issymmetric, much like what happens for ishermitian, where
instead of

retval = (isnumeric (A) || islogical (A)) && issquare (A);

one has

retval = isnumeric (A) && issquare (A);


I added islogical in order to be consistent with istril, istriu, isbanded and
bandwidth, but I didn't notice the problem with ishermitian at that time.

I think that both ishermitian and issymmetric should have the same behaviour.
They could return false either when the matrix is boolean or when the matix is
boolena AND a tolerance parameter is specified.

Any suggestions or ideas?

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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