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

Gilles commented on MATH-1004:
------------------------------

bq. [...] adding MatrixUtils.inverse(RealMatrix) and have it just do the 
instanceOf check [...]

Do you mean that we would forbid users to call this method on an invertible 
matrix that happens to not be of the "DiagonalMatrix" type?

bq. [...] whether or not to add inverse(DiagonalMatrix) to the public API. 

IMHO, we should avoid crowding "XxxUtils" classes. IOW, there should be a good 
reason why the method cannot be somewhere else.


> 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