commit | ab9b0b0c2d0913e7f2a894650255564a40b05277 | [log] [tgz] |
---|---|---|
author | aherbert <aherbert@apache.org> | Fri Dec 02 15:08:03 2022 +0000 |
committer | aherbert <aherbert@apache.org> | Fri Dec 02 15:08:03 2022 +0000 |
tree | 63205c88cf0452b1dbfdd797aca9e5fb43757a0b | |
parent | abb32b5a6234dc1aff70e27d83ef80870bbcc450 [diff] |
Use a LinkedHashMap to respect the order of the input data Note: The int/real enumerated distributions do not specify that the input must be sorted. This change supports the legacy behaviour enforced by the unit test which is assuming input values are processed in encounter order (which happens to be sorted). Given int and double have a natural ordering it may be better to update the distribution to sort input values. However this would contradict the enumerated distribution which respects the input order of the list used in the constructor.
“Commons Math” is undergoing major changes towards the next release (4.0):
More information can be found on the Apache Commons Math homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Math should be posted to the user mailing list.
You can download source and binaries from our download page.
Please note that the last official version (3.6.1) is quite old and not supported anymore. Bug reports should be filed against the current development version.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
mvn
.If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
This code is under the Apache Licence v2.
See the NOTICE
file for required notices and attributions.
You like Apache Commons Math? Then donate back to the ASF to support the development.
#apache-commons
IRC channel on irc.freenode.org