|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #59264] issymmetric says false for symmetric character matrices |
Date: | Tue, 13 Oct 2020 17:15:20 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0 |
URL: <https://savannah.gnu.org/bugs/?59264> Summary: issymmetric says false for symmetric character matrices Project: GNU Octave Submitted by: None Submitted on: Tue 13 Oct 2020 09:15:18 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: 5.2.0 Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: This is unexpected behavior, to return false for a symmetric matrix simply because it is char. Symmetry as a property is not restricted to numeric types. Is this being done with the aim of Matlab compatibility? octave:1> A = ["evil"; "vile"; "ills"; "lest"] A = evil vile ills lest octave:2> A == A' ans = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 octave:3> issymmetric (A) ans = 0 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59264> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |