6976 Commits

Author SHA1 Message Date
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
aherbert
916a7d0c14 Add a release profile 2022-01-18 17:35:17 +00:00
aherbert
2a1da68177 Remove examples and correct artifact ids in dist-archive 2022-01-18 17:34:57 +00:00
Gilles Sadowski
ae6ceeadd1 Replace calls to deprecated classes and methods (unit tests). 2022-01-18 04:37:54 +01:00
Gilles Sadowski
d81b5e921e Replace "CMAESOptimizer.Sigma" with "Sigma". 2022-01-17 02:37:20 +01:00
Gilles Sadowski
336811dff5 Relax tolerance (unit tests). 2022-01-13 15:53:20 +01:00
Gilles Sadowski
7bb6190584 Remove spurious file.
Thanks to Karl-Philipp Richter.

Closes #201.
2022-01-13 15:50:22 +01:00
Gilles Sadowski
9b0fc1fe7f Allow successful build on Java 9+.
Currently "JdkMath" implements all "Math" methods only on Java 8 (or lower).
2022-01-11 01:05:58 +01:00
Gilles Sadowski
bc3711d0c6 Track changes. 2022-01-09 00:19:02 +01:00
Gilles Sadowski
00e783b363 Remove non-applicable terms from "LICENCE" and "NOTICE" files.
The referred dependencies are not used in the "neuralnet" module.
2022-01-08 15:46:22 +01:00
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