Commit Graph

7017 Commits

Author SHA1 Message Date
Gilles Sadowski befbe8f6e3 Javadoc. 2021-07-14 12:49:28 +02:00
Gilles Sadowski 9afa2f7532 Remove useless override (suggested by "sonarcloud"). 2021-07-14 12:32:14 +02:00
Gilles Sadowski 6bc42d33d2 Simplify condition (suggested by "sonarcloud"). 2021-07-14 11:22:40 +02:00
Gilles Sadowski 1bb918b730 Rephrase condition. 2021-07-14 11:16:58 +02:00
Gilles Sadowski bb5843f4aa CheckStyle. 2021-07-14 11:04:50 +02:00
Gilles Sadowski 8f83827846 Code simplifications (suggested by "sonarcloud"). 2021-07-14 00:36:10 +02:00
Gilles Sadowski df895da9be Release notes (draft). 2021-07-11 21:45:53 +02:00
Amar Prakash Pandey ded7c63521 MATH-1528: Remove "Serializable".
Closes #191.
2021-07-11 21:33:19 +02:00
Gilles Sadowski f4244dc76d Unused field. 2021-07-11 19:01:22 +02:00
Gilles Sadowski 996426e61e Unused "import". 2021-07-11 19:00:48 +02:00
Gilles Sadowski 78476b09dc MATH-1462: Following advice in the Javadoc (on selecting the number of bins), unit test passes. 2021-07-11 17:35:24 +02:00
Gilles Sadowski 693d560427 Code style and Javadoc nits. 2021-07-11 17:16:06 +02:00
Gilles Sadowski 509f50b0a5 CheckStyle. 2021-07-11 03:15:10 +02:00
Gilles Sadowski eab3bcec3c MATH-1600: Interface is not used anymore. 2021-07-11 02:56:35 +02:00
Gilles Sadowski 7630d04981 Track changes. 2021-07-11 02:52:25 +02:00
Gilles Sadowski 5fee542f82 MATH-1615: Functionality is in "Commons RNG" (cf. RNG-137). 2021-07-11 02:44:10 +02:00
Gilles Sadowski 71bfa2daeb Adapt to API change in "Commons Numbers". 2021-07-11 02:36:10 +02:00
Gilles Sadowski 46a0c3ae41 MATH-1614: Refactoring of "SimplexOptimizer".
Class "Simplex" supersedes "AbstractSimplex" whose subclasses are replaced
by implementations of the "Simplex.TransformFactory" interface.
The new classes are immutable.

Test suite has been updated.
It tries to assess correctness through randomization; however some standard
optimization problems entail systematic failures that were previously hidden
through using fixed seeds.  [The corresponding unit tests are skipped, and
further work is needed in order to find out whether those problems are too
hard for the algorithm or the issue lies elsewhere.]
2021-07-11 02:10:11 +02:00
aherbert 7f425354fb MATH-1576: Fix checkstyle in legacy module
Fix many of the modules.

The remaining modules have been added back and commented out:

ParameterNumber - 50 errors
MethodParamPad - 94 errors
NoWhitespaceAfter - 3949 errors
NoWhitespaceBefore - 1605 errors
OperatorWrap - 54 errors
ParenPad - 884 errors
WhitespaceAfter - 7543 errors
WhitespaceAround - 2198 errors
HiddenField - 64 errors
ArrayTypeStyle - 197 errors
Indentation - 7293 errors
2021-06-25 17:32:48 +01:00
aherbert f8741d3ab6 MATH-1576: Reinstate checkstyle to legacy module
A simplified checkstyle configuration has been used. Additional modules
should be added back incrementally as the codebase is corrected.

Removed trailing whitespace.
Removed tab characters.
Fixed the correct licence header.
2021-06-25 16:49:31 +01:00
Gilles Sadowski c98e638d73 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math 2021-06-25 14:51:00 +02:00
Gilles Sadowski 97dd402d10 MATH-1613: Decrease maximum number of iterations for consistency with internal counter. 2021-06-25 14:50:01 +02:00
aherbert 6ce950d5a3 MATH-1576: Reinstate checkstyle
Checkstyle has been suppressed for the legacy module.

Fixed the new modules to pass the checkstyle configuration ported from
Commons-Numbers.
2021-06-25 12:08:35 +01:00
Gilles Sadowski cd54910edc Javadoc. 2021-06-25 12:12:52 +02:00
Gilles Sadowski 03923d2b79 Adapt to "Commons Numbers" API update (cf. NUMBERS-163). 2021-06-23 02:09:48 +02:00
Gilles Sadowski 0a3c4023dd Functionality has been moved to "Commons Numbers" (cf. NUMBERS-164). 2021-06-17 15:22:48 +02:00
Gilles Sadowski a1f2a98c28 Use functionality defined in "Commons Numbers". 2021-06-17 15:13:34 +02:00
Gilles Sadowski b509678e95 MATH-1610: Functionality moved to "Commons RNG" (cf. RNG-145). 2021-06-14 22:26:22 +02:00
Gilles Sadowski ee73d636de MATH-1603: Userguide update. 2021-06-14 20:32:40 +02:00
Gilles Sadowski 24b1d86ffb MATH-1608: Remove random string generator.
Functionality is out-of-scope (cf. "Commons Codec").
2021-06-14 14:49:11 +02:00
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 c67bf75076 MATH-1603: Userguide update. 2021-06-10 15:57:18 +02:00
Gilles Sadowski e810c88cd9 MATH-1603: Userguide update. 2021-06-10 15:54:11 +02:00
Gilles Sadowski 46c6e5c97b MATH-1603: Userguide update. 2021-06-10 15:50:33 +02:00
Gilles Sadowski 09669bfa95 MATH-1603: Userguide update. 2021-06-10 15:43:25 +02:00
Gilles Sadowski dd135e568b MATH-1603: Userguide update. 2021-06-10 15:41:09 +02:00
Gilles Sadowski 64474ed963 MATH-1603: Userguide update. 2021-06-10 04:09:20 +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 6698b7d21c Travis to use default maven goal.
After success do not repeat the tests. jacoco can be run directly as the
results are already present.
2021-06-09 16:54:05 +01: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
aherbert 97080fdc38 Removed unused import 2021-06-09 16:31:45 +01:00
aherbert 6d1351cc33 Throw named exceptions for IO errors 2021-06-09 16:31:35 +01:00
aherbert e300d21251 Use UTF-8 encoding in PrintWriter 2021-06-09 16:26:28 +01:00
aherbert 1b6a0f9c9e Remove dead local store 2021-06-09 16:23:40 +01:00
aherbert 1d51a0f68e spotbugs exclusions for AccurateMath 2021-06-09 16:23:31 +01:00
Gilles Sadowski 9f92370627 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math 2021-06-09 16:45:59 +02:00