Hi all,
A few days ago, several pull requests arrived from github
(<https://github.com/apache/commons-math/pull/6>,
<https://github.com/apache/commons-math/pull/7>,
<https://github.com/apache/commons-math/pull/8> and
<https://github.com/apache/commons-math/pull/9>). They
concern ebe-like functions for MathArrays.
I was ready to commit them, but have second thoughts now. Wouldn't it
be better to have rather an API like:
MathArrays.map(UnivariateFunction f, double[] a)
and
MathArrays.map(BivariateFunction f, double[] a, double[] b)
It would avoid adding a bunch of functions.
There were already concerns about inflating API in RealVector
a few years ago and I would prefer not doing again the same errors.
What do you think?
Luc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
|