patchGNU Octave - Patches: patch #8262, Make issymetric work on...


patch #8262: Make issymetric work on non-numeric matrices

Submitted by:  Arun Giridhar <arungiridhar>
Submitted on:  Wed 18 Dec 2013 12:19:37 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 21 Apr 2015 03:58:26 PM UTC, comment #1: 

It may be overly restrictive, but it is also Matlab compatible.  I also wouldn't think to use issymmetric on a char matrix since it is more interesting for numeric matrices where it says something about the solution.  If you really want to there is always the workaround of casting the char to a numeric matrix before calling issymetric

TF = issymetric (double (char_matrix));

Rik <rik5>
Project Administrator
Wed 18 Dec 2013 12:19:37 AM UTC, original submission:  

The function issymetric worked only on numeric matrices, which is too restrictive, because a non-numeric matrix can be called symmetric if it equals its own transpose, such as ["prose"; "razor"; "ozone"; "sonic"; "erect"]. I've changed the code to include character matrices (patch attached).

Arun Giridhar <arungiridhar>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30033:  issymmetric.diff added by arungiridhar (2KiB - text/x-patch - mercurial patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by arungiridhar (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-21 rik5 StatusNone => Wont Do
        Open/ClosedOpen => Closed
    2013-12-18 arungiridhar Attached File- => Added issymmetric.diff, #30033

    Back to the top

    Powered by Savane 3.5