commit | 0494360c0eb9f7df75db2752cd4d094e4b880853 | [log] [tgz] |
---|---|---|
author | Alex Herbert <aherbert@apache.org> | Thu Jan 16 11:32:48 2020 +0000 |
committer | aherbert <aherbert@apache.org> | Mon Apr 06 12:28:46 2020 +0100 |
tree | a3516bfff94003e437e1fb7e175b56e988e1141b | |
parent | a2ce6c77d5fa90385b34b9b95bf46a7e7c98efc9 [diff] |
[NUMBERS-142] Added LinearCombination implementations to the JMH module. Adds implementations based on the method of Dekker, Ogita et al, and Shewchuk. All implementations pass the tests copied from arrays.LinearCombinationTest. Tests were added using ill-conditioned dot products to demonstrate the condition number where each implementation will fail. The method for computing a double length product of two numbers has been written to ensure no overflow of intermediates. All implementations are added to a JMH performance test.
The Apache Commons Numbers project provides number types and utilities.
More information can be found on the Apache Commons Numbers homepage. The Javadoc for each of the modules can be browsed:
Questions related to the usage of Apache Commons Numbers should be posted to the user mailing list.
You can download source and binaries from our download page.
Alternatively you can pull it from the central Maven repositories:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-numbers-parent</artifactId> <version>1.0</version> </dependency>
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 clean test
.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 Numbers? Then donate back to the ASF to support the development.
#apache-commons
IRC channel on irc.freenode.org