Commit Graph

228 Commits

Author SHA1 Message Date
Gilles Sadowski bdc4a527fb Remove dependencies on unused "Commons Numbers" modules. 2021-06-10 18:27:59 +02:00
Gilles Sadowski ca830af170 Remove dependency "ComplexUtils" class.
Class will not be released as of "Commons Numbers" v1.0 (cf. NUMBERS-25).
2021-06-10 18:24:53 +02:00
Gilles Sadowski 151b015ea7 MATH-1594: Remove "Serializable". 2021-06-10 17:41:48 +02:00
Gilles Sadowski 759743122d Removed "java.util.Random" wrapper.
Utility is provided by "Commons RNG".
2021-06-10 03:10:21 +02:00
aherbert 8a60de3263 Ignore spotbugs in the legacy module 2021-06-09 16:53:06 +01:00
aherbert af647182ef Fix binary search for index overflow 2021-06-09 16:44:48 +01:00
aherbert df117c1e46 Fix null argument check. Fix javadoc error. 2021-06-09 16:41:20 +01:00
Gilles Sadowski 1d83419c90 Adapt to "Commons Numbers" API updates.
Cf. NUMBERS-159.
2021-06-09 16:20:39 +02:00
Gilles Sadowski a5b1aa0294 Typo. 2021-06-09 16:18:57 +02:00
Gilles Sadowski df927f0b67 MATH-1552: Fiddling with setup and expectations (unit tests). 2021-06-05 23:50:46 +02:00
Gilles Sadowski 4075e87c76 Unneeded "import" statement. 2021-06-05 14:50:58 +02:00
Gilles Sadowski dd73a1ba80 Unneeded dependency (unit test). 2021-06-05 14:49:01 +02:00
Gilles Sadowski 839f8b45a3 Remove info file with useless/outdated contents. 2021-06-05 13:21:02 +02:00
Gilles Sadowski 7b9edac695 Use "Commons RNG" (unit tests). 2021-06-05 03:41:14 +02:00
Gilles Sadowski ac25b3b9f3 Remove fixed seed (unit test). 2021-06-05 02:26:43 +02:00
Gilles Sadowski e24e0a8555 MATH-1595: Interface not used anymore within "Commons Math". 2021-06-04 10:54:23 +02:00
Gilles Sadowski 610564f7d4 MATH-1602: Obsolete class. 2021-06-04 10:46:47 +02:00
Gilles Sadowski b574149094 Adapt to new API ("Commons Numbers"). 2021-06-04 00:23:52 +02:00
Gilles Sadowski 8f39a414c1 MATH-1599: Class removed (out-of-scope). 2021-06-03 19:29:40 +02:00
Gilles Sadowski 1b7f10eed7 Moved "ComplexFormat" class to "util" package. 2021-06-03 18:42:58 +02:00
Gilles Sadowski 7ef0099c9e Adapt to new API ("Commons Numbers"). 2021-06-03 18:27:25 +02:00
Gilles Sadowski 536ee3f645 MATH-1598: Class is not used anymore within "Commons Math".
Functionality is available from "Commons RNG".
2021-06-02 03:26:14 +02:00
Gilles Sadowski 456de1bf98 MATH-1601: Simplified and more robust API.
Factory methods ensure correct use (removed dependency on "NormalizedRandomGenerator").
2021-06-02 03:21:46 +02:00
Gilles Sadowski 8afd815000 Typo (Javadoc). 2021-06-02 01:08:42 +02:00
Gilles Sadowski 1da0c57053 Dependency not needed. 2021-06-01 17:36:08 +02:00
Gilles Sadowski ba2a1c2434 Utility class moved to module "commons-math-legacy-core". 2021-06-01 17:31:40 +02:00
Gilles Sadowski 02d14e6791 Utility class moved to module "commons-math-legacy-core". 2021-06-01 17:17:51 +02:00
Gilles Sadowski 787d42ef07 MATH-1595: Interface is not used anymore. 2021-06-01 13:42:25 +02:00
Gilles Sadowski 491798e0de Clean-up. 2021-06-01 07:05:21 +02:00
Gilles Sadowski c3ec07380f Additional test passes. 2021-06-01 01:25:15 +02:00
Gilles Sadowski e85e8b53f2 Create module "commons-math-legacy-core" for holding functionality needed by many "legacy" modules.
"FastMath" (renamed "AccurateMath") and related classes moved to "o.a.c.m.legacy.core.jdkmath".
2021-06-01 00:26:35 +02:00
Gilles Sadowski ce65e6ba3f MATH-1462: Unit test copied from JIRA report.
Set to "@Ignore" because the issue is still present.
2021-05-31 15:19:52 +02:00
Gilles Sadowski 53cb2cce5f Unused classes (in "src/test"). 2021-05-31 15:02:52 +02:00
Samy Badjoudj 9cfd17601b MATH-1592: Remove "NumberTransformer" (transformations should be done by caller).
Closes #186.
2021-05-31 15:02:39 +02:00
Gilles Sadowski bcdc7fbba7 MATH-1587: Move (legacy) exception classes to a dedicated maven module. 2021-05-31 14:37:20 +02:00
Gilles Sadowski 3599736865 Reduce build failure frequency due to randomized unit tests. 2021-05-31 14:17:50 +02:00
Gilles Sadowski 2588814c82 Unused "import". 2021-05-31 13:02:33 +02:00
Gilles Sadowski 67e647cf5b Break cyclic dependency between "util" and "exception" packages.
Remove spurious "throws" clauses.
2021-05-31 05:19:03 +02:00
Gilles Sadowski f24fd14718 MATH-1596: Removed dependency on "RandomVectorGenerator". 2021-05-31 03:49:24 +02:00
Gilles Sadowski 6f4620f270 MATH-1589: Spurious "throws" clauses. 2021-05-31 03:49:24 +02:00
Gilles Sadowski 9d4d838638 MATH-1431: Avoid NaN in case of empty bin.
Thanks to Artem Onuchin.

Closes #79.
2021-05-31 03:49:07 +02:00
Gilles Sadowski 55e7cf0a51 MATH-1596: Remove dependency on "RandomVectorGenerator". 2021-05-31 02:42:34 +02:00
Gilles Sadowski 7eadea3167 MATH-1589: Spurious "throws" clauses. 2021-05-30 23:04:17 +02:00
Samy Badjoudj 6ce3bd901f MATH-1468: Moved "Decimal64" and "Decimal64Field" to "test" area.
Nit: Removed "final" (a "static" method is not polymorphic).
2021-05-30 15:09:53 +02:00
Gilles Sadowski f9a7c568be MATH-1596: Remove dependency on "RandomVectorGenerator". 2021-05-30 15:02:13 +02:00
Gilles Sadowski c93520a02f MATH-1593: Remove duplicate functionality (provided in "Commons RNG"). 2021-05-30 14:58:49 +02:00
Gilles Sadowski 8a756d763d Removed dependency on "GaussianRandomGenerator" (unit test). 2021-05-30 01:10:18 +02:00
Gilles Sadowski 8441d3fd65 Removed dependency on "UncorrelatedRandomVectorGenerator" (unit test). 2021-05-29 01:45:27 +02:00
Gilles Sadowski 1d9670cb12 MATH-1172: "SimpleCurveFitter" as parent class for curve fitter implementations. 2021-05-29 00:34:28 +02:00
Gilles Sadowski 9146f7abe2 Remove implementation classes from public API. 2021-05-28 19:42:17 +02:00
Gilles Sadowski bab2a8b991 MATH-1411: Relaxing tolerance.
Unit test now succeeds reasonably often, even when using a random seed.
2021-05-28 19:16:54 +02:00
Gilles Sadowski 2977d26a0f Renamed "PivotingStrategyInterface" to "PivotingStrategy".
Removed a few spurious "throws" clauses (cf. MATH-1589).
2021-05-28 18:27:53 +02:00
Gilles Sadowski 450cb5e46f Remove implementation classes from public API. 2021-05-28 17:37:18 +02:00
Gilles Sadowski 1f1872f85d Reduce failure frequency (unit test). 2021-05-28 17:35:00 +02:00
Samy Badjoudj b416ae586e MATH-1586: Moved classes that are only used by a single package over to that package 2021-05-28 15:33:22 +02:00
Amar Prakash Pandey f29d5c97d3 MATH-1453: mannWhitneyU return minimum value for U 2021-05-28 15:12:41 +02:00
Gilles Sadowski d92a3c6335 MATH-1588: Fit into JDK 8 "function" API. 2021-05-27 22:56:48 +02:00
Gilles Sadowski 0466b29f83 Use new API. 2021-05-27 04:49:32 +02:00
Gilles Sadowski 0e81847e45 Remove unused class. 2021-05-26 23:33:08 +02:00
Gilles Sadowski 2650a4786c Unused "import". 2021-05-26 22:54:41 +02:00
Gilles Sadowski 8df971ce64 Use functionality defined in "Commons Numbers". 2021-05-26 18:49:51 +02:00
Gilles Sadowski fcc47a2c88 Code reuse. 2021-05-26 13:27:24 +02:00
Gilles Sadowski d056c03834 MATH-1584: Unit tests. 2021-05-26 04:39:12 +02:00
Gilles Sadowski 144cb12200 Unused "import". 2021-05-26 04:35:16 +02:00
Gilles Sadowski 23c029484f MATH-1584: Move "MathUtils.check..." functions to associated exception class. 2021-05-26 04:22:20 +02:00
Gilles Sadowski a4c8c52bd2 Move constant declaration to where it is actually used. 2021-05-26 03:35:25 +02:00
Gilles Sadowski 9087575eec Reuse constant defined in "Commons Numbers". 2021-05-26 03:23:07 +02:00
Gilles Sadowski 4bb1787631 Unused "import" statements. 2021-05-26 03:08:25 +02:00
Gilles Sadowski 0cfc410cb0 MATH-1583: Move "min" and "max" to "RealFieldElement". 2021-05-26 03:02:37 +02:00
Gilles Sadowski eedd0b853b MATH-1581: Removed "equals" method. 2021-05-26 00:17:56 +02:00
Gilles Sadowski 8157678473 MATH-1581: Removed "copySign" methods. 2021-05-25 23:44:45 +02:00
Gilles Sadowski 35d56cc547 MATH-1581: Removed "hash" methods. 2021-05-25 23:17:11 +02:00
Gilles Sadowski ad5f0dac37 MATH-1536: Let unit tests use random seeds (and allow a few retries on failure).
Consistently failing test (in "NaturalRankingTest") set to "@Ignore".
2021-05-24 03:15:17 +02:00
Gilles Sadowski 7f383414c2 MATH-1533: Javadoc explaining that the issue is actually not a problem.
Corresponding unit test has been removed.
2021-05-24 02:31:12 +02:00
Gilles Sadowski 92094a0993 MATH-1582: Modularization.
Code moved from "o.a.c.math4.legacy.transform" into a dedicated module.
2021-05-23 01:19:12 +02:00
Gilles Sadowski 5e59617d85 MATH-1578: Modularization.
Code moved from "o.a.c.math4.legacy.ml.neuralnet" into a dedicated module.

Refactored "TSP" example application (formerly provided as a unit test).
2021-05-21 14:52:27 +02:00
Gilles Sadowski ac978e2c4c Typo. 2021-05-18 03:23:05 +02:00
Gilles Sadowski 9d1741bfe4 Modularization.
For now, all codes were placed in module "commons-math-legacy".
Selected parts should gradually be moved out of that module into their own.
2021-05-15 05:36:48 +02:00