[ 
https://issues.apache.org/jira/browse/MATH-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793380#comment-13793380
 ] 

Thomas Neidhart edited comment on MATH-1004 at 10/12/13 3:50 PM:
-----------------------------------------------------------------

Ok, so then let's add a DiagonalMatrix.inverse() method.

But I would also suggest to add a method with an epsilon to check for a 
singular matrix:

 * DiagonalMatrix inverse() -> uses default epsilon, e.g. 1e-12
 * DiagonalMatrix inverse(double epsilon)
 * boolean isSingular(double epsilon)


was (Author: tn):
Ok, so then let's add a DiagonalMatrix.inverse() method.

But I would also suggest to add a method with an epsilon to check for a 
singular matrix:

 * DiagonalMatrix inverse() -> uses default epsilon, e.g. 1e-12
 * DiagonalMatrix inverse(double epsilon)
 * boolean isSingular()

> Inversion of diagonal matrix
> ----------------------------
>
>                 Key: MATH-1004
>                 URL: https://issues.apache.org/jira/browse/MATH-1004
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Ajo Fod
>            Priority: Minor
>         Attachments: MATH-1004.patch
>
>
> This should be a very easy feature to add and has many applications. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to