[
https://issues.apache.org/jira/browse/MATH-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles closed MATH-1003.
------------------------
Resolution: Invalid
General discussions about design must take place on the "dev" ML.
This forum (JIRA) is a dedicated to specific issues.
Thanks.
> Extensibility of CM classes: Please consider defaulting fields to protected
> instead of private.
> -----------------------------------------------------------------------------------------------
>
> Key: MATH-1003
> URL: https://issues.apache.org/jira/browse/MATH-1003
> Project: Commons Math
> Issue Type: Wish
> Reporter: Ajo Fod
>
> Today I wanted to extend the DiagonalMatrix to use the inverse of a
> DiagonalMatrix in matrix calculations. As you know the inverse of an n by n
> DiagonalMatrix takes only n steps. So, I thought I'd extend the
> DiagonalMatrix ... it turns out that the data field is private. Many other
> examples of private fields hindering extensibility exist in the Math code.
> What is the recommended/easiest way to get around a problem like this?
--
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