[
https://issues.apache.org/jira/browse/MATH-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485990#comment-13485990
]
Gilles commented on MATH-884:
-----------------------------
Supporting the raising of an exception makes it similar to other "check..."
methods. (The flag is not part of the public API.)
If there is a failed precondition and an exception is raised, it is probably
nice to provide the element's indices where the symmetry property is broken
(the indices are arguments to this exception's constructor). This cannot be
done by just calling "isSymmetric" and then raise the an exception if it
returned false.
> "isSymmetric" in "MatrixUtils"
> ------------------------------
>
> Key: MATH-884
> URL: https://issues.apache.org/jira/browse/MATH-884
> Project: Commons Math
> Issue Type: Task
> Reporter: Gilles
> Assignee: Gilles
> Priority: Minor
> Fix For: 3.1
>
> Attachments: MATH-884.diff
>
>
> I propose to move the method "isSymmetric" from "EigenDecomposition" to
> "MatrixUtils" (package "o.a.c.m.linear").
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira