Commit Graph

5786 Commits

Author SHA1 Message Date
Thomas Neidhart 9085dfacc0 Apply fix for timestamp format. 2015-12-02 21:19:37 +01:00
Thomas Neidhart 25de9b7800 MATH 4 requires at least java 7, build also the MATH_3_X branch. 2015-12-02 21:08:41 +01:00
Thomas Neidhart 7afc1c34fc Add missing Override tags -> trigger travis build. 2015-12-02 21:03:30 +01:00
Thomas Neidhart f504277bca Update latest version in README. 2015-12-02 20:43:44 +01:00
Thomas Neidhart 7d32a990e9 Add badges and initial travis configuration. This closes #11. 2015-12-02 20:42:31 +01:00
Gilles bdc329db9e Backport tracking. 2015-12-02 15:57:13 +01:00
Gilles 34646ec9b5 MATH-1295
Increased default value for number of allowed evaluations.
2015-12-02 13:51:10 +01:00
Phil Steitz c4f8493358 Backport tracking. 2015-11-29 08:33:46 -07:00
Phil Steitz 2bfd539dba Update javadoc; use += for jitter. 2015-11-27 13:00:01 -07:00
Phil Steitz 49bb370a6c Removed trailing spaces. No code change. 2015-11-27 10:55:38 -07:00
Phil Steitz f7ab3a70ec Modified KolmogororSmirnovTest 2-sample test to use random jitter to break ties in input data. JIRA: MATH-1246. 2015-11-26 14:43:20 -07:00
Phil Steitz 5f9cfa6ebf Pass rng to EnumeratedRealDistribution used by bootstrap. 2015-11-24 06:24:46 -07:00
Thomas Neidhart 487ac19801 [MATH-1294] Fix potential race condition in PolynomialUtils. Thanks to Kamil Włodarczyk 2015-11-23 23:13:10 +01:00
Phil Steitz 03326f6116 Fixed syntax / coding errors to make tests agree exactly with Java tests; added missing tests to testAll. 2015-11-23 13:56:27 -07:00
Phil Steitz 23b351c894 Removed trailing spaces. 2015-11-22 12:18:46 -07:00
Phil Steitz 7851a3e2bf Added bootstrap method to KolmogorovSmirnovTest. JIRA: MATH-1246. 2015-11-22 12:17:48 -07:00
Phil Steitz d510921649 Renamed FieldUnivariateFunction to RealFieldUnivariateFunction. 2015-11-15 15:40:23 -07:00
Phil Steitz 029b692aab Added missing @since tags. 2015-11-15 13:40:06 -07:00
Phil Steitz 2e87f2934e Added @since tags, cleaned up code. JIRA: MATH-1287 2015-11-15 11:04:09 -07:00
Gilles 09e31a01b5 Add "static". 2015-11-11 00:43:22 +01:00
Gilles 268bcd6226 Avoid explicit instantiation of "Integer" objects for small values. 2015-11-10 23:05:27 +01:00
Otmar Ertl 396610625b MATH-1285: added definition of distribution to javadoc of
ZipfDistribution
2015-11-10 21:20:14 +01:00
Phil Steitz d7362a44f3 Backport tracking. 2015-11-09 20:51:08 -07:00
Phil Steitz 5a1b473d5c Added constructors taking sample data as arguments to enumerated real and integer distributions. JIRA: MATH-1287. 2015-11-09 20:25:22 -07:00
Phil Steitz fd37b5dd02 Reverted flawed fix for MATH-1246. 2015-11-09 15:11:33 -07:00
Otmar Ertl a94ff90ab6 MATH-1269: fixed FastMath.exp returning NaN for non-NaN arguments 2015-11-05 21:09:38 +01:00
Otmar Ertl 793e9df043 fixed some typos in comments 2015-11-05 20:34:15 +01:00
Luc Maisonobe 23a87ac139 Removed unused method. 2015-11-04 14:48:36 +01:00
Gilles 8fdda846c4 Use a "static" instance rather than an anonymous one instantiated on-the-fly. 2015-11-04 14:24:48 +01:00
Luc Maisonobe 5005d1173c PairNeuronDouble should not implement Comparable.
As the purpose was only to sort neurons according to an associated
value, using an explicit comparator is simpler. Implementing Comparable
induces also implementing equals and hashcode which are not really
meaningful. They are nevertheless required by our code quality checking
tools.
2015-11-04 14:11:15 +01:00
Luc Maisonobe 85a20b5023 Added a nth order Brent solver for general real fields.
This solver replaces the former solver that was restricted to
Dfp fields only.
2015-11-04 12:35:11 +01:00
Luc Maisonobe 1f6c125267 Set up a customized configuration for PMD. 2015-11-03 22:09:06 +01:00
Luc Maisonobe 3e0ffb9f52 Added missing braces. 2015-11-03 22:08:38 +01:00
Luc Maisonobe 2272f5cce7 Added missing javadoc. 2015-11-03 22:06:34 +01:00
Luc Maisonobe ab908d64bf Removed static imports. 2015-11-03 21:47:50 +01:00
Luc Maisonobe 175e1b3637 Spurious semicolon. 2015-11-03 21:45:53 +01:00
Luc Maisonobe 3150dd3c7d Replaced implementation types.
ArrayList -> List
TreeMap   -> SortedMap
2015-11-03 21:45:02 +01:00
Luc Maisonobe 63a179da8b Combined nested if statements. 2015-11-03 21:43:57 +01:00
Luc Maisonobe 1130658baf Fixed findbugs warning.
When defining compareTo, we should also define equals and hashcode.
2015-11-03 10:57:42 +01:00
Luc Maisonobe 3f68627209 Avoid a false positive findbugs warning.
Findbugs is confused by constant 1.570796251296997 which is a
intentionally slightly offset from PI/2 as per Cody Waite arguments
reduction.
2015-11-03 10:45:35 +01:00
Luc Maisonobe 93f8d0e237 Avoid a false positive findbugs warning.
The source code tests an angle using "angle > (FastMath.PI - 1.0e-10)".
As the compiler does the subtraction of the constants directly, findbugs
complains about a "Rough value of Math.PI found: 3.141592653489793".
2015-11-03 10:34:38 +01:00
Luc Maisonobe f13954235f Removed useless object. 2015-11-03 10:25:10 +01:00
Luc Maisonobe e8556e80e9 Updated parent pom and plugins versions to latest available. 2015-11-03 10:23:39 +01:00
Luc Maisonobe 8e0b98bf6b reintroduced modifiers needed for serialization. 2015-11-02 16:20:54 +01:00
Luc Maisonobe 026fce5c5f Fixed hidden field warning. 2015-11-02 15:09:43 +01:00
Luc Maisonobe bf7e9d505a Fixed checkstyle warnings.
These warnings correspond to redundant modifiers (public, static, ...).
They are identified by recent versions of checkstyle, in particular the
one shipped with Eclipse. They are not detected by our
maven-checkstyle-plugin yet because it is not the latest one and still
depends on an older version of checkstyle.
2015-11-02 15:08:01 +01:00
Luc Maisonobe e10556ec68 Fixed missing types in javadoc. 2015-11-02 14:31:38 +01:00
Luc Maisonobe ad12d97cbb Use a fixed seed to avoid random test failure. 2015-11-02 13:43:09 +01:00
Gilles fdee2718dc Backport tracking. 2015-10-31 16:15:35 +01:00
Gilles fa1aa44c76 MATH-1286
New "Range" inner class that holds a field with the number of elements of the range.
An instance of this class replaces the anonymous class returned by the "range" method.
2015-10-31 15:36:35 +01:00