Hi,
in MATH-803 [1] it was decided to deprecate RealVector.ebeMultiply/Divide,
because these methods were difficult to support with sparse vectors.
However, in MATH-870, we decided to deprecate sparse vectors altogether.

I'm therefore having second thoughts on MATH-803. Since the problematic
implementations of RealVector are removed, why not keep these quite handy
methods?

BTW, these methods could be implemented with visitors, but the current
interface of vector visitors allows visiting only ONE vector at a time. So
visiting TWO vectors simultaneously requires uggly tweaking of this
interface (basically, storing a reference of one of the two vectors to be
visited as a class variable of the visitor itself... so much for
imutability).

How about we introduce "zip-visitors" to visit simultaneously two vectors?
This is just an idea, it can of course wait until 3.2, but if we agree upon
the idea, I can file a JIRA ticket for the record.

Best regards,

Sébastien

[1] https://issues.apache.org/jira/browse/MATH-803
[2] https://issues.apache.org/jira/browse/MATH-870

Reply via email to