Commit Graph

6957 Commits

Author SHA1 Message Date
Gilles Sadowski e65ed4ff5b Add accessors.
Allow retrieval of the full state, e.g. for persistent storage (cf. MATH-1594).
2022-01-08 14:52:55 +01:00
Gilles Sadowski d35194c995 Update copyright notice (2022). 2022-01-06 01:18:24 +01:00
Gilles Sadowski 468d81714d Remove comparator.
Its usage is unnecessary within the library.
2022-01-06 01:04:31 +01:00
Gilles Sadowski 08e51aa539 Unused "import" statements. 2022-01-06 00:26:11 +01:00
Gilles Sadowski 382759b4cd Javadoc. 2022-01-06 00:16:40 +01:00
Gilles Sadowski c6d5f4b65f MATH-1594: Remove "Serializable". 2022-01-02 23:59:08 +01:00
Gilles Sadowski 2f48fbb5f9 Unused "import" statements. 2022-01-01 13:25:44 +01:00
Gilles Sadowski e7002a0215 MATH-1594: Remove "Serializable". 2021-12-31 01:59:20 +01:00
Gilles Sadowski eab5cb3af1 MATH-1594: Remove "Serializable". 2021-12-31 01:44:22 +01:00
Gilles Sadowski 94061dc566 MATH-1594: Remove "Serializable". 2021-12-31 00:59:27 +01:00
Gilles Sadowski 83fb6ef292 Remove spurious "throws" clause. 2021-12-31 00:53:17 +01:00
Gilles Sadowski 8904e6263a MATH-1594: Remove "Serializable". 2021-12-31 00:44:16 +01:00
Gilles Sadowski d3c03ebc9b Add unit tests. 2021-12-31 00:34:07 +01:00
Gilles Sadowski 9f633f7af4 MATH-1594: Remove "Serializable". 2021-12-31 00:31:49 +01:00
Gilles Sadowski 89f0abb4ea MATH-1594: Remove "Serializable". 2021-12-30 23:29:18 +01:00
Gilles Sadowski 4f0a49b674 MATH-1594: Remove "Serializable". 2021-12-30 18:12:41 +01:00
Gilles Sadowski aa0bee3055 MATH-1594: Remove "Serializable". 2021-12-30 18:11:26 +01:00
Gilles Sadowski eac2e8b627 MATH-1594: Remove "Serializable". 2021-12-30 17:27:48 +01:00
Gilles Sadowski 43ebe7bc45 Obsolete package. 2021-12-30 16:12:28 +01:00
Gilles Sadowski d291aba288 Typo (userguide). 2021-12-12 12:56:41 +01:00
Gilles Sadowski 620b330f47 Comment out test case that fails too often. 2021-12-01 02:36:17 +01:00
Gilles Sadowski c6094cf9e0 MATH-1635: Unit test demonstrating the reported issue.
Test is set to "@Ignore" since the behaviour may be a known limitation.
2021-12-01 02:27:51 +01:00
Gilles Sadowski 226c1fc638 MATH-1636: Remove "isSupportedConnected" (as per STATISTICS-48). 2021-12-01 02:06:16 +01:00
Gilles Sadowski 142dcaa921 Javadoc. 2021-10-17 15:27:45 +02:00
Gilles Sadowski e052d9dc53 Remove methods that were calling the "Math" implementation. 2021-10-17 02:03:42 +02:00
Gilles Sadowski 22753536f4 Class "JdkMath" bridges user code and alternative implementations.
It's a "drop-in" replacement for JDK's "Math" as of Java 8 (cf. MATH-1630).

"AccurateMath" contains pure Java, acccurate, implementations of "Math" functions.
But it is no longer required to implement all of them.
2021-10-17 01:46:06 +02:00
Gilles Sadowski b35167641a Add files in new maven module. 2021-10-16 11:14:47 +02:00
Gilles Sadowski 82ab48ce86 Remove non-applicable rules (SpotBugs). 2021-10-16 11:14:47 +02:00
Gilles Sadowski 26708f4b8d Adapt configuration to class being moved to another package. 2021-10-16 11:14:47 +02:00
Gilles Sadowski ea8730aa2f Track changes. 2021-10-16 11:14:47 +02:00
Gilles Sadowski 21e230ae83 MATH-1630: Runtime switch between JDK and CM implementations of the methods defined in "java.lang.Math".
Default is to use the CM implementations in order to retain previous behaviour.
When using the JDK implementations, some unit tests fail (on Java 8).

Class "AccurateMath" was moved to "o.a.c.math4.core" package.
[Unit tests for that class were not moved because they depend on "legacy" classes.]
2021-10-16 11:14:09 +02:00
Gilles Sadowski 39c47671f2 MATH-1629: Throw "ArithmeticException" instead of "MathArithmeticException". 2021-10-16 10:41:46 +02:00
Gilles Sadowski cb5f001821 Spurious "throws" clauses. 2021-10-14 11:00:24 +02:00
Gilles Sadowski 6e745db400 Javadoc. 2021-10-14 11:00:24 +02:00
Gilles Sadowski 5460d4d755 Use "valueOf".
Call to constructor is deprecated in Java 11.
2021-10-14 11:00:24 +02:00
aherbert aa58ab0fd6 Updated tests to use factory constructors for Statistics distributions 2021-10-13 14:20:47 +01:00
aherbert 83b0eba9db Updated SpotBugs 3.1.8 to 4.3.0 to allow building on JDK 17.
A generic exclusion has been added to allow the build to pass.
2021-10-13 14:09:08 +01:00
aherbert 84677cd0db Updated to use factory constructors for Statistics distributions 2021-10-13 14:01:08 +01:00
Gilles Sadowski 3a5cf279bb MATH-1462: Extend workaround for bins that contain up to 3 values. 2021-09-27 01:02:54 +02:00
Maciej Kwidzinski d4de59a15a MATH-1462: Reproduce the infinite quantile bug 2021-09-18 12:20:35 +02:00
Gilles Sadowski b44c2610e0 Javadoc. 2021-09-18 03:05:51 +02:00
Gilles Sadowski acfc270834 Upgrade dependency. 2021-09-14 13:34:44 +02:00
Gilles Sadowski 470bdbb5f3 PMD. 2021-09-01 13:36:40 +02:00
Gilles Sadowski b89f677c67 Relax tolerance (unit tests). 2021-09-01 13:34:56 +02:00
Gilles Sadowski 6e11126615 Spurious "throws" clauses. 2021-09-01 11:25:20 +02:00
Gilles Sadowski b222580737 Replace algorithm used in "best list" search.
Although efficient in terms of evaluations, "NelderMeadTransform" fails for
some higher-dimensional test functions.
2021-09-01 03:43:05 +02:00
Gilles Sadowski f44cae3985 Upgrade dependency. 2021-08-28 03:19:57 +02:00
Gilles Sadowski 1811eeaf37 Unused "import". 2021-08-27 20:58:27 +02:00
Gilles Sadowski bf1c2c214c Remove obsolete helper class for unit testing.
Retries are handled by the "surefire" plugin.
2021-08-27 19:16:03 +02:00
Gilles Sadowski dd0acaa9ff Relax expectations (unit test). 2021-08-27 19:15:17 +02:00