Commit Graph

7131 Commits

Author SHA1 Message Date
aherbert 7b18e4f676 Reorder properties to match commons RNG parent.
Update commons.module.name to commons.automatic.module.name
2022-10-13 12:59:51 +01:00
aherbert cff0c9b4b4 Remove javadoc links added by commons parent 2022-10-13 12:48:27 +01:00
aherbert 23ef546eff Update PMD version to commons parent
plugin 3.14.0 -> 3.19.0
pmd-impl 6.37.0 -> 6.49.0
2022-10-13 12:47:08 +01:00
aherbert 2ceab60e7a Update spotbugs 4.3.0 to CP 4.7.2.0 2022-10-13 12:44:37 +01:00
aherbert f142596f1a Fix checkstyle for UnnecessaryParentheses 2022-10-13 12:41:54 +01:00
aherbert 070517388d Drop checkstyle 3.1.0 for 3.2.0 in commons parent
Update checkstyle dependency 8.29 for 9.3 in commons parent

Remove checkstyle excludes for generated code.
2022-10-13 11:48:31 +01:00
aherbert 10f519d8c2 Drop antrun 1.8 for 3.1.0 in commons parent 2022-10-13 11:44:44 +01:00
aherbert 8d4381b75a Drop junit 5.7.2 for 5.9.0 in commons parent 2022-10-13 11:44:05 +01:00
aherbert e59397ba10 Update to CP 54
Disable CycloneDX as config is incorrect for multi-module builds.

Override ciManagement section from the parent.

Set commons.release.isDistModule to false in the parent.

Add rat exclusion for .gitattributes.
2022-10-13 11:43:46 +01:00
aherbert 5a8234a2fe Remove trailing whitespace 2022-10-13 11:38:37 +01:00
aherbert a8d392580d Use diamond operator 2022-10-13 11:36:34 +01:00
aherbert 93e3ee4b78 Formatting. Remove empty lines before closing curly bracket. 2022-10-13 11:04:55 +01:00
aherbert bc9e8bd272 Update fixed seed test
Use random seed and allow test reruns to pass the sampler.
2022-10-13 11:00:09 +01:00
aherbert 8dfca662fc Update git ignore to recursively ignore build files 2022-10-13 10:38:52 +01:00
aherbert 49d542fc03 Update to commons RNG 1.5
Use BOM for dependency management
2022-10-13 10:36:08 +01:00
Alex Herbert 85c6427a1b Add code of conduct 2022-10-11 22:27:53 +01:00
Sebb b938e88a85 Don't persist credentials unnecessarily 2022-10-08 15:24:04 +01:00
Gilles Sadowski 97191fc73c Track changes.
Closes #211.
2022-08-20 02:44:37 +02:00
Gilles Sadowski 0217542162 Javadoc. 2022-08-20 02:43:51 +02:00
rednikeeg 01ba89bf26 MATH-1647: Enforce precondition (index must be larger than 0). 2022-08-20 02:34:44 +02:00
Gilles Sadowski 3c1c92d3eb MATH-1589: Remove spurious "throws" clause. 2022-08-12 17:34:55 +02:00
aherbert 1119bdbdef Optimise bicubic polynomial
Remove computation of products and sums where one factor is zero.

Avoid computation of products where one factor is one.

Use static functions where applicable.
2022-07-27 16:28:52 +01:00
Gilles Sadowski 8b3496720f Track changes. 2022-07-27 15:50:18 +02:00
Gilles Sadowski 9946ec4e22 Use MathJax. 2022-07-27 15:49:14 +02:00
amoscatelli 8e6dee5958 MATH-1648: Derivatives for "BicubicInterpolatingFunction". 2022-07-27 15:42:53 +02:00
Gilles Sadowski 4ef2d3b8c2 Documentation update (release instructions). 2022-07-25 15:18:23 +02:00
Gilles Sadowski f94991f224 MATH-1589: Remove spurious "throws" clause. 2022-07-20 14:48:00 +02:00
aherbert 0bf33a4fc1 Use Complex.ZERO.
This does not change the equals comparison. Note that this will not
detect sign differences, e.g. (0.0, 0.0) == (-0.0, 0.0) and a tolerance
may be required for more robustness.
2022-07-15 17:28:33 +01:00
aherbert 64e2818924 Use complex multiply by scalar 2022-07-15 17:17:40 +01:00
Alex Herbert f54b4c7c9f Migrate workflows from adopt to temurin 2022-06-29 23:26:56 +01:00
Alex Herbert dd9ed7a104 Use GitHub Actions setup-java Maven cache property 2022-06-29 14:00:56 +01:00
aherbert e85dd59990 Add aggregate coverage report
This is used to report coverage across all modules for the multi-module
project, e.g. use of the legacy.exception and jdkmath packages.
2022-06-13 14:11:11 +01:00
aherbert 294589d7b4 Correct javadoc 2022-06-07 15:39:02 +01:00
aherbert 8ffc31a0fe Use message supplier 2022-06-07 15:38:40 +01:00
aherbert 5a536c851a Fix test resource file column descriptions 2022-06-07 15:31:33 +01:00
aherbert f4c8f1a91c Update to Commons Parent 53
Requires update of PMD version to allow build on JDK 17.

Plugin: 3.13.0 -> 3.14.0
Dependency: 6.21.0 -> 6.37.0
2022-06-07 15:19:03 +01:00
aherbert 9293da2a06 Fix FFT Test to use the expected imaginary result for relative error
Update to JUnit 5 Assertions.

Add absolute tolerance check in addition to relative tolerance.

Use Precision for equality checks.

Add relative/abs error in the assertion failure message.
2022-06-07 15:09:04 +01:00
aherbert f37494baca Update commons-imaging to 1.0-alpha3 2022-06-07 14:03:43 +01:00
aherbert c779c331ab Add GitHub workflows for build and coverage 2022-06-07 13:39:10 +01:00
aherbert 4e3d62a289 Enable jacoco plugin using the commons parent profile 2022-06-07 13:38:45 +01:00
aherbert 2f8b4da5b9 Correct javadoc tags to allow build on JDK 17
Remove heading tags
Correctly close paragraph tags
2022-06-07 12:58:37 +01:00
Gilles Sadowski f067b2b4ba MATH-1644: Prevent computed probability from exceeding 1. 2022-04-09 14:07:03 +02:00
Sebb cfb9bda8f8 git-wip-us => gitbox 2022-04-05 11:37:39 +01:00
Gilles Sadowski 57dda85533 HTML5 javadoc comments.
As of Java 11, the "javadoc" command requires compliance.
2022-03-03 12:02:58 +01:00
Gilles Sadowski 924f6c3574 Redundant setting (POM). 2022-02-01 01:10:12 +01:00
Gilles Sadowski c5ea177934 Use specialized "pow" function. 2022-01-27 15:09:34 +01:00
Gilles Sadowski 06301d00d5 Track changes. 2022-01-25 01:30:07 +01:00
Gilles Sadowski 9ce9f49d4a Add "ElkanKMeansPlusPlusClusterer" to example application. 2022-01-25 01:27:17 +01:00
Gilles Sadowski 74a851b611 MATH-1371: Elkan's enhancement to "K-Means" algorithm.
Original implementation is a old PR provided by Artem Barger.
Updated and changed to pass the code style checks.

I did not review how this algorithm departs from the other
implementations available in the same package, and whether
some other design could minimize duplicate codes (but it
would have been a pity to drop a potential performance
improvement).
A thorough examination should be considered, when tackling
the refactoring of the "clustering" package.

Closes #35.
2022-01-24 19:57:29 +01:00
Gilles Sadowski 565b896873 MATH-1580: "K-Means" clustering example.
Adapted application moved to the "commons-math-examples" module.

* GUI dependencies have been removed.
* Any format supported by "Commons Imaging" can be used as input.
* Clustered image saved in PNG format.
2022-01-24 18:14:59 +01:00