Commit Graph

7016 Commits

Author SHA1 Message Date
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
Gilles Sadowski 134d731a6b Unused "import". 2022-01-24 18:12:52 +01:00
Gilles Sadowski 49a38cdf03 Minor cosmetic change (POM). 2022-01-24 06:37:38 +01:00
Gilles Sadowski 022332820a Upgrade dependency.
Commons Statistics 1.0-SNAPSHOT requires Commons Numbers 1.1-SNAPSHOT.
2022-01-24 05:54:10 +01:00
Gilles Sadowski f862efe4c6 MATH-1589: Remove spurious "throws" clause. 2022-01-24 05:39:59 +01:00
Gilles Sadowski e18ac1b03b Replace deprecated calls. 2022-01-23 03:56:07 +01:00
Gilles Sadowski 4844e3aeab Upgrade dependencies. 2022-01-23 03:55:21 +01:00
Gilles Sadowski c6b4ca908c MATH-1640: Do not try to outguess the caller. 2022-01-22 18:53:17 +01:00
Arturo Bernal 645d85a8c7 Avoid array declarations written in C-style syntax and replace it with java.
Closes #202.
2022-01-20 18:44:07 +01:00
Gilles Sadowski 49f220cbcb Fix duplicate reference (POM). 2022-01-19 05:21:00 +01:00
Gilles Sadowski 426545d1db Relax tolerance (unit test). 2022-01-19 05:19:47 +01:00
Gilles Sadowski 384554faa1 Move "shade" plugin to a profile (POM).
Cf. https://markmail.org/message/xvsc75mt6fpz2k65
2022-01-19 04:54:26 +01:00
Alex Herbert 32c75646ba Remove dependency fileset 2022-01-19 00:12:21 +00:00
Gilles Sadowski 5b291c7950 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math 2022-01-18 20:01:21 +01:00
aherbert 61cfea92d9 Disable jacoco coverage check in core module
This should allow Travis to build.
2022-01-18 18:21:29 +00:00
aherbert f4bc2a48ce Do not perform site checkout by default 2022-01-18 17:55:15 +00:00