On Tue, 31 May 2016 02:58:27 +0300, Artem Barger wrote:
Methods "getMinValue()", "getMinIndex()".
Important note: any contribution should be based on the contents of
the "develop" branch, not "master". See file
doc/development/development.howto.txt
in the source tree.
So in order to use them I need to instantiate a RealVector, right?
Yes.
And the iteration is probably not efficient since it use the
high-level API.
Hence I think the question whenever to add static method w/
similar functionality to MathArrays class is still valid, especially
if
I can enhance it to accept array or list of Comparables or to accept
Comparator as an additional parameter.
Yes.
But perhaps a more general functionality would be useful.
Especially with the new Java 8 function types.
Anyway if such functionality is already exist in "RealVector", I
guess
there is no point of adding
it to MathArrays, unless RealVector should be refactored and
functionality
should be removed from
there.
Yes, refactored it should be:
https://issues.apache.org/jira/browse/MATH-765
It says that these methods to be removed from RealVector.
A pity that what it says did not occur. :-}
[Also, I think that the functionality which you proposed might be
available or fairly easily achievable in Java 8.]
What is the minimal Java version currently officially supported by
CM?
Java 7 currently.
I just wondering in context of MATH-1371, since assuming it's Java 8
I can
add some more improvements.
You are welcome to start a new thread about the issue of the minimally
supported Java version.
Regards,
Gilles
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org