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: NonePriority: 5 - Normal
Status: Wont DoPrivacy: Public
Assigned to: NoneOpen/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

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 File(s):

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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by arungiridhar (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Apr 2015 03:58:26 PM UTCrik5StatusNone=>Wont Do
    Wed 18 Dec 2013 12:19:37 AM UTCarungiridharAttached File-=>Added issymmetric.diff, #30033

    Back to the top

    Powered by Savane 3.1-cleanup1