commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Commented] (MATH-870) Deprecate interfaces and implementations of sparse vectors and matrices
Date Thu, 20 Feb 2014 14:33:25 GMT


Gilles commented on MATH-870:

bq. [...] matrix multiplication with a NaN that get not propagated or something like that?
What would this test bring?

It would keep track of known limitations; that it has been discussed and accepted.
So that no user will open a bug report about NaNs being swallowed...

bq. [...] methods in OpenMapRealVector?

Yes. Line 376.
MATH-803 should thus be resolved differently from previously decided, as a consequence of
the decision to keep the implementation as is. Maybe other similar issues initially delayed
to 4.0 can be resolved now.
The partial workarounds should be removed since they don't bring any value, knowing that nothing
good can be expected once negative zero or NaN enter the picture.

> Deprecate interfaces and implementations of sparse vectors and matrices
> -----------------------------------------------------------------------
>                 Key: MATH-870
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: S├ębastien Brisard
>            Priority: Minor
> Recently, many problems have been found out with class
> {{OpenMapRealVector}} (see MATH-803 and MATH-821), to the point that the complete removal
of this class in upcoming versions (as of 4.0) has been agreed [markmail|].
> Since it now becomes useless, {{SparseRealVector}} will also be removed. For the sake
of consistency, {{SparseFieldVector}} will also be removed.
> Furthermore, it is expected that the same kind of bugs will occur with sparse implementations
of real/field matrices, which will also be removed.
> In version 3.1, the following classes and interfaces will be deprecated
> * {{SparseRealVector}}
> * {{OpenMapRealVector}}
> * {{SparseFieldVector}}
> * {{SparseRealMatrix}}
> * {{OpenMapRealMatrix}}
> * {{SparseFieldMatrix}}
> They will be completely removed in version 4.0.

This message was sent by Atlassian JIRA

View raw message