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 2016/05/29 22:43:12 UTC

[jira] [Resolved] (MATH-656) "isSparse()" method vs marker interfaces

     [ https://issues.apache.org/jira/browse/MATH-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-656.
-------------------------
       Resolution: Incomplete
    Fix Version/s:     (was: 4.0)

Cannot be resolved independently of MATH-765.

> "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
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)