Commit Graph

5821 Commits

Author SHA1 Message Date
Luc Maisonobe 9b6a649f9f updated ODE userguide documentation.
JIRA: MATH-1225
2015-05-17 15:07:31 +02:00
Luc Maisonobe 15a24dc0fc Added a fast implementation of IEEEremainder in FastMath. 2015-05-16 14:24:13 +02:00
Phil Steitz 83c61da2c9 Document NPE. JIRA: MATH-1224. 2015-05-13 12:21:38 -07:00
Luc Maisonobe 903f280595 Use Double.isNaN rather than x != x in FastMath.
Thanks to Benedikt Ritter.

Github: closes #5.
JIRA: MATH-1222
2015-05-09 22:15:52 +02:00
Sebb 35ad940908 Version entries must be in separate release sections 2015-05-08 15:39:56 +01:00
Thomas Neidhart a675ca7802 Fix test failures for FastMath.pow by preventing JIT branch optimization. 2015-05-07 21:35:50 +02:00
Luc Maisonobe 51cb31ef21 Fixed equals/hashcode contract failure for Dfp.
Thanks to Cyrille Artho.
2015-05-07 16:28:51 +02:00
Luc Maisonobe e4b3ac8597 Fixed wrong splitting of huge number in extended accuracy algorithms. 2015-05-07 15:23:05 +02:00
Luc Maisonobe 6571233ed2 Revert "Attempt to circumvent some errors which seem to be platform-dependent."
This reverts commit c771c0080b.

The attempt failed, the error is still present.
2015-05-04 17:19:59 +02:00
Luc Maisonobe c771c0080b Attempt to circumvent some errors which seem to be platform-dependent.
The Jenkins build often fails on code that seems to be perfectly
correct. Failures also do no always happen so they may depend on
platform. There were similar problems a few months ago that were
probably related to JIT bugs.

This fix simply tries to do the same thing as before, but with an
earlier detection of NaN in one case, and by comparing directly the bits
representation in another case, to avoid wrong optimizations.
2015-05-04 13:43:27 +02:00
Luc Maisonobe c8cb752431 Fixed missing javadoc. 2015-05-04 11:01:09 +02:00
Thomas Neidhart b313ae6888 Add userguide example for integer distributions. Fix title in real distribution overview. 2015-05-03 22:41:45 +02:00
Luc Maisonobe 613afdb0c3 Converters for univariate and multivariate differentiable functions.
JIRA: MATH-1143
2015-05-03 19:18:09 +02:00
Thomas Neidhart cb21480cb1 [MATH-964] Remove unused class PollardRho. 2015-05-01 15:44:47 +02:00
Thomas Neidhart 2ae6f996ec [MATH-964] Remove unused class PollardRho. 2015-05-01 15:44:08 +02:00
Thomas Neidhart bd5afc0b5a [MATH-1221] Improve performance of ZipfDistribution by caching the nth generalized harmonic. 2015-05-01 14:12:44 +02:00
Thomas Neidhart 002276ea31 [MATH-1220] Improve performance of ZipfDistribution.sample. Thanks to Otmar Ertl. 2015-05-01 13:50:10 +02:00
Thomas Neidhart 5597ed7ea3 [MATH-1153] Improve performance of BetaDistribution#sample. Thanks to Sergei Lebedev. 2015-05-01 11:57:54 +02:00
Luc Maisonobe 9b2772e38e Disabling a broken checkstyle test. 2015-04-30 21:04:27 +02:00
Luc Maisonobe 35f4fbeeb6 Fixed checkstyle and findbugs warnings. 2015-04-30 18:35:35 +02:00
Luc Maisonobe 783adba4f1 Updated plugins. 2015-04-30 18:35:05 +02:00
Luc Maisonobe 93769f2004 Removed cache setting that directly refers to target directory.
The configuration is not really needed for maven builds as it is already
the default configuration. However, it breaks Eclipse checks as
different checkstyle versions (the one from maven and the one from
Eclipse) cannot share a common cache file.
2015-04-30 18:32:29 +02:00
Luc Maisonobe 95e1973a41 Removed RedundantThrows module which is not supported after 6.2.
As Eclipse checkstyle plugin uses a more recent version of checkstyle,
this module created problems. The same problems will certainly arise
with maven plugin when it is updated to post 6.2 versions.
2015-04-30 18:30:09 +02:00
Luc Maisonobe c769a9ded6 Typos. 2015-04-30 16:25:48 +02:00
Thomas Neidhart afcfbf57b9 [MATH-853] MathRuntimeException becomes the commons base class for all other exceptions. 2015-04-26 22:11:48 +02:00
Thomas Neidhart 2f461bdb0f Fix typo. 2015-04-26 21:18:57 +02:00
Thomas Neidhart b494caa019 Remove spurios change. 2015-04-26 21:12:55 +02:00
Thomas Neidhart a6abb8b003 [MATH-1197] Computation of 2-sample KS statistic was wrong in case of ties. 2015-04-26 20:55:17 +02:00
Gilles 8ed40d5302 RNG seed in unit test. 2015-04-19 03:50:30 +02:00
Luc Maisonobe e613e029fb Merge 3.5 back into 4.0 history. 2015-04-17 21:10:07 +02:00
Luc Maisonobe 6dc7ccc57b Wrap jgit buildnumber plugin in a profile triggered by .git exsiting.
This should prevent numerous warnings when building from a source
archive instead of from git checkout.
2015-04-17 21:01:38 +02:00
tn 3a4e18ddf1 Code formatting. 2015-04-14 14:53:21 +02:00
Thomas Neidhart 0a799598cb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
Conflicts:
	src/changes/changes.xml
2015-04-13 22:14:53 +02:00
Thomas Neidhart 845e1d5423 [MATH-1205] Major refactoring of the descriptive statistics package. 2015-04-13 22:11:35 +02:00
Luc Maisonobe e588c8f2e9 Fixed wrong file name. 2015-04-12 19:02:38 +02:00
Luc Maisonobe c02d676118 Updated site menu for upcoming 3.5 release. 2015-04-12 19:02:10 +02:00
Luc Maisonobe a6ed07c55c Moved FastMathTestPerformance out of the main test tree.
Is is a benchmark rather than a test.

JIRA: MATH-1195
2015-04-12 17:54:36 +02:00
Luc Maisonobe fa6fcf2080 Added a way to build polyhedrons sets from vertices and facets. 2015-04-12 17:15:55 +02:00
Phil Steitz 4aa1d98adf Added missing serial version ids. 2015-04-11 14:34:08 -07:00
Phil Steitz b6488f0869 Added @Overrides. 2015-04-11 14:04:59 -07:00
Phil Steitz 9ec53e16d6 Dropped vestigal methods from test distributions. 2015-04-11 13:45:50 -07:00
Thomas Neidhart e31fde875c Remove deprecated classes in optim package. 2015-04-11 16:05:10 +02:00
Thomas Neidhart 0737cf82db Remove deprecated classes in optim package. 2015-04-11 16:04:53 +02:00
Thomas Neidhart 8a76453566 Reset clirr exceptions after package change. 2015-04-11 15:51:07 +02:00
Thomas Neidhart 306fa74602 Remove deprecated interfaces/classes/methods in analysis package. 2015-04-11 15:47:35 +02:00
Thomas Neidhart 8e4e522151 Add missing @Override tags, formatting. 2015-04-11 14:57:51 +02:00
Thomas Neidhart 5d549fc352 Add missing @Override tags. 2015-04-11 14:51:07 +02:00
Luc Maisonobe 8d210b4f84 Fixed ignored method parameters in QRDecomposition protected methods.
JIRA: MATH-1191
2015-04-10 21:36:04 +02:00
Luc Maisonobe 8937821b5f Changed javadoc as the RandomDataGenerator class.
The class does not implement an interface anymore (the previous
interface has been deprecated in 3.X and removed in 4.0).

JIRA: MATH-1212
2015-04-10 21:06:37 +02:00
Luc Maisonobe 8d9ddbca5f Fixed @Override checkstyle warnings.
@Override was forbidden at some places in Java 5, but is now mandatory
at the same places in Java 7.
2015-04-10 17:45:37 +02:00