You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2011/09/02 19:33:10 UTC
[jira] [Created] (MATH-656) "isSparse()" method vs marker
interfaces
"isSparse()" method vs marker interfaces
----------------------------------------
Key: MATH-656
URL: https://issues.apache.org/jira/browse/MATH-656
Project: Commons Math
Issue Type: Improvement
Reporter: Gilles
Priority: Trivial
Fix For: 3.0
>From discussions on the "dev" ML, it seems that it would be advantageous to introduce a method "isSparse()" in "RealVector" and in "RealMatrix".
For "RealVector", it will make sense to use it to select between "iterator()" and "sparseIterator()" in methods implemented in that class.
We could then remove the "SparseRealVector" and "SparseRealMatrix" interfaces.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MATH-656) "isSparse()" method vs marker
interfaces
Posted by "Gilles (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles updated MATH-656:
------------------------
Fix Version/s: (was: 3.0)
4.0
Postponing to next major version, as it is unlikely that a new discussion on these API issues will occur before the release of 3.0.
> "isSparse()" method vs marker interfaces
> ----------------------------------------
>
> Key: MATH-656
> URL: https://issues.apache.org/jira/browse/MATH-656
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Gilles
> Priority: Trivial
> Fix For: 4.0
>
>
> From discussions on the "dev" ML, it seems that it would be advantageous to introduce a method "isSparse()" in "RealVector" and in "RealMatrix".
> For "RealVector", it will make sense to use it to select between "iterator()" and "sparseIterator()" in methods implemented in that class.
> We could then remove the "SparseRealVector" and "SparseRealMatrix" interfaces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira