Thomas Neidhart
5cfd99f0dc
[MATH-1240] Fix calculation of ksSum in KolmogorovSmirnovTest for zero input.
2015-06-28 11:58:19 +02:00
Thomas Neidhart
6d7ee38cee
[MATH-1242] Improve performance of KolmogorovSmirnov two-sample test via monte carlo simulation. Thanks to Otmar Ertl.
2015-06-28 10:45:23 +02:00
tn
471e6b078a
[MATH-1241] Propagate input value to Gamma#digamma and Gamma#trigamma if the input is not a real value to avoid infinite recursion. Thanks to Aleksei Dievskii.
2015-06-24 15:30:35 +02:00
Thomas Neidhart
276e22858c
[MATH-1236] Improve performance of calculating the two-sample Kolmogorov-Smirnov test statistic. Thanks to Otmar Ertl.
2015-06-21 19:39:23 +02:00
Gilles
75c2b24c68
MATH-1231
...
Lifted unnecessary type restriction on constructor's "exponent" argument
of "MicrosphereInterpolator" and "MicrosphereInterpolatingFunction".
2015-06-11 23:52:53 +02:00
Luc Maisonobe
2990f6caad
Merge branch 'master' of
...
https://luc@git-wip-us.apache.org/repos/asf/commons-math.git
Conflicts:
src/changes/changes.xml
2015-06-11 14:09:52 +02:00
Luc Maisonobe
8f35fcb8f7
Fixed error message for unknown parameter name in ODE.
...
JIRA: MATH-1232
2015-06-11 13:50:04 +02:00
Thomas Neidhart
a55ae85447
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
...
Conflicts:
src/changes/changes.xml
2015-06-09 20:43:42 +02:00
Thomas Neidhart
96eb80efe1
[MATH-1230] Throw a DimensionMismatchException if dimension of constraints and objective function does not match in SimplexSolver.
2015-06-09 20:39:52 +02:00
Luc Maisonobe
12ec16006a
Updated to latest plantuml syntax.
2015-06-01 11:01:58 +02:00
Luc Maisonobe
5f5937fcc2
Fixed checkstyle warning.
2015-06-01 10:59:59 +02:00
Gilles
8be87e032a
MATH-1229
...
Set initial capacity to input array's size in order to avoid
unnecessary resizing for inputs larger than than the default
capacity.
2015-05-30 19:23:35 +02:00
Luc Maisonobe
441687e5a4
Document NPE.
...
JIRA: MATH-1116
JIRA: MATH-1224
2015-05-19 13:46:09 +02:00
Luc Maisonobe
c44bfe000c
Fixed wrong event detection in case of close events pairs.
...
JIRA: MATH-1226
2015-05-19 13:18:32 +02:00
Luc Maisonobe
0c0455fd66
Attempt to re-implement the pow function.
...
The attempts are motivated by platform-specific failures, which seem to
be platform-specific, and probably due to JIT optimization bugs.
2015-05-17 16:31:12 +02:00
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
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
35f4fbeeb6
Fixed checkstyle and findbugs warnings.
2015-04-30 18:35:35 +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
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
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
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
Luc Maisonobe
a06a158465
Fixed wrong intersection selection in polyhedrons sets.
...
Sometimes the selected intersection point was on the wrong side of the
line (i.e. in the opposite of the direction of the line).
Thanks to Mike Zimmerman for identifying and solving the issue.
JIRA: MATH-1211
2015-04-10 16:37:18 +02:00
Luc Maisonobe
b8e4612d48
Added dump/parse utilities for BSP trees.
...
These utilities are for test and debug purposes only.
2015-04-10 16:33:43 +02:00
Phil Steitz
6cd693a422
Fixed javadoc. JIRA: MATH-1214.
2015-04-09 17:47:34 -07:00
Gilles
a7de358a05
Javadoc warnings.
2015-04-09 14:59:54 +02:00
Gilles
de5d148d18
Typo.
2015-04-09 14:59:16 +02:00
Gilles
0a499402d7
MATH-1206
...
New API methods in "LeastSquaresProblem.Evaluation" class.
2015-04-09 14:37:42 +02:00
Luc Maisonobe
c768ed307d
Fixed wrong handling of a corner case.
...
The problem occurs in very difficult to reproduce cases, as it is really
a corner case. When the vanishing cut-subhyperplane occurs during a
Difference operation, the fixed node still has a null cut-subhyperplane.
This was not properply handled.
JIRA: MATH-1162
2015-04-08 17:41:23 +02:00
Luc Maisonobe
54b2a69a63
Added missing @Override
2015-03-19 10:35:08 +01:00
Thomas Neidhart
a1c5a58276
Fix sonar error: remove private final field and return the DEFAULT value instead.
2015-03-18 22:41:00 +01:00
Gilles
c440f668ac
MATH-1210
...
Improved error reporting.
2015-03-18 16:57:16 +01:00
Thomas Neidhart
093e3bb2e3
Fix checkstyle warning, remove forgotten deprecated methods.
2015-03-16 21:29:21 +01:00
Thomas Neidhart
b7d8801c36
Add missing @Override tags, add final for member variables where applicable.
2015-03-16 21:26:05 +01:00
Thomas Neidhart
9e26d9933a
Add missing @Override tags, add final for member variables where applicable.
2015-03-16 21:24:39 +01:00
Thomas Neidhart
bfb3cf8bba
[MATH-1209] Fix link to algorithm description in PoissonDistribution#sample(). Thanks to Jonathan Ogilvie
2015-03-11 22:08:57 +01:00
Thomas Neidhart
da4cef0724
Use proper type for changelog entry.
2015-03-10 23:28:33 +01:00
Thomas Neidhart
76b7413d2b
[MATH-757] Removed broken and deprecated synchronization support in ResizableDoubleArray.
2015-03-10 23:16:03 +01:00
Thomas Neidhart
fbf5a51ea5
Add missing @Override tags, use final for private fields where possible.
2015-03-10 23:05:14 +01:00
Thomas Neidhart
7c172a091a
Remove deprecated Vector#distance(Vector) method.
2015-03-10 23:00:03 +01:00
Thomas Neidhart
f5532557b9
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
...
Conflicts:
src/changes/changes.xml
2015-03-10 22:46:30 +01:00
Thomas Neidhart
ab9c3e935e
Add missing @Override tags.
2015-03-10 22:42:03 +01:00
Thomas Neidhart
45df5da264
[MATH-945] Added log10 to RealFieldElement.
2015-03-10 22:38:48 +01:00
Thomas Neidhart
cc467caf26
Add missing @Override tags, formatting.
2015-03-10 22:30:44 +01:00
Phil Steitz
ce2badf02e
Corrected the fix for MATH-1208.
2015-03-09 12:37:57 -07:00
Phil Steitz
b148046add
Made getKernel return a constant distribution for zero variance bins. JIRA: MATH-1203.
2015-03-08 19:36:20 -07:00
Gilles
c1c61ce70d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-03-09 00:44:45 +01:00
Gilles
86eb3a2fa7
MATH-1207
...
Relax tolerance in unit test.
2015-03-09 00:42:35 +01:00
Phil Steitz
4aa4c6d31f
Made getKernel return a constant distribution for zero variance bins. JIRA: MATH-1203.
2015-03-08 14:10:25 -07:00
Thomas Neidhart
51a9539c69
Make private fields final if possible, add missing @Override tags for implemented interfaces, javadoc formatting.
2015-03-02 22:53:16 +01:00
Thomas Neidhart
1e7d4f0576
Remove unneeded empty lines.
2015-03-02 22:41:44 +01:00
Thomas Neidhart
4e08e17ec5
[MATH-958] Remove support for NaNStrategy#REMOVED in SpearmansCorrelation.
2015-03-02 22:41:18 +01:00
Thomas Neidhart
0a5cd11327
Remove deprecated interpolation and fitter classes.
2015-02-25 23:02:30 +01:00
Thomas Neidhart
d389e94bee
Remove unused imports.
2015-02-25 23:01:48 +01:00
Thomas Neidhart
b4669aad3f
Remove deprecated optimization package.
2015-02-25 22:34:53 +01:00
Thomas Neidhart
35b688b7ec
[MATH-869] NullArgumentException now extends NullPointerException.
2015-02-25 22:25:47 +01:00
Thomas Neidhart
c22e7fb6f9
Remove temporary output.
2015-02-25 22:20:33 +01:00
Thomas Neidhart
3fd9cf1753
[MATH-839] Renamed cumulativeProbability(double, double) to probability(double, double) in IntegerDistribution and RealDistribution. Thanks to Gilles.
2015-02-25 21:43:34 +01:00
Thomas Neidhart
0351963e6b
Add since tag for inner class.
2015-02-25 21:18:32 +01:00
tn
d98897b11e
Revert back temporary changes.
2015-02-25 17:45:07 +01:00
tn
ccd0fd51a5
Temp changes for analyzing test failures.
2015-02-25 10:01:02 +01:00
Thomas Neidhart
6b1b592887
Make method arguments final.
2015-02-25 07:56:38 +01:00
Thomas Neidhart
96ba5ec216
Remove deprecated contructors in UniformRealDistribution.
2015-02-24 23:38:51 +01:00
Thomas Neidhart
0d3545e5f6
[MATH-1039] Added logDensity and logProbability methods to RealDistribution and IntegerDistribution interfaces.
2015-02-24 23:30:55 +01:00
Thomas Neidhart
ece7c6fc67
[MATH-859] Remove deprecated isSupportXXXInclusive methods from RealDistribution.
2015-02-24 23:08:40 +01:00
Thomas Neidhart
4be09dfff2
[MATH-437] Remove deprecated KS distribution.
2015-02-24 23:07:58 +01:00
tn
4140e01266
Fix checkstyle warnings.
2015-02-24 11:28:54 +01:00
Thomas Neidhart
03e65c98da
Replace removed methods by toArray().
2015-02-23 23:58:44 +01:00
Thomas Neidhart
6ac547ddcb
Remove deprecated methods in linear package.
2015-02-23 23:28:37 +01:00
Thomas Neidhart
e92a76bc1a
Remove deprecated methods in package geometry.
2015-02-23 23:21:25 +01:00
Thomas Neidhart
e6fe53fdae
Remove deprecated classes and methods.
2015-02-23 23:03:35 +01:00
Thomas Neidhart
ff4ec1a323
Add changelog entry for MATH-1155.
2015-02-23 22:44:38 +01:00
Thomas Neidhart
dc9fcd4140
[MATH-1155] Performance improvement for WELL class random number generators.
2015-02-23 22:39:27 +01:00
Thomas Neidhart
c765796382
Update minimum JDK to at least Java 7.
2015-02-23 22:01:49 +01:00
Thomas Neidhart
76d5be34f0
[MATH-850] Remove deprecated RandomData and RandomDataImpl classes.
2015-02-19 23:28:28 +01:00
Thomas Neidhart
f1b2fcd7f5
[MATH-1204] Added changelog entry, fix javadoc typos.
2015-02-19 22:20:04 +01:00
Evan Ward
a56d4998cf
MATH-1204 bracket function gives up too early
...
In UnivariateSolverUtils.bracket(...) the search ends prematurely if a =
lowerBound, which ignores some roots in the interval. Fixed by changing the
loop condition so the search continues while b < upperBound. Also added a test
case.
2015-02-19 15:16:28 -05:00
tn
d746a54c2e
Update unit test for LocalizedFormats after removing the deprecated one.
2015-02-19 10:20:51 +01:00
tn
6d50174baa
Remove deprecated classes in package geometry.partitioning.utilities.
2015-02-19 10:01:34 +01:00
tn
d0c62a848c
Remove deprecated methods in ListPopulation.
2015-02-19 10:01:01 +01:00
tn
2e462ec48b
Remove deprecated tag as the method has been made private already.
2015-02-19 10:00:47 +01:00
tn
261ceec84b
Remove deprecated copy method.
2015-02-19 09:54:58 +01:00
tn
6e368658c4
Remove deprecated method medianOf3 in Percentile.
2015-02-19 09:52:49 +01:00
tn
24e3c8632e
Remove deprecated localized format.
2015-02-19 09:50:38 +01:00
tn
2c94388179
Remove deprecated stat.clustering package.
2015-02-19 09:25:46 +01:00
Thomas Neidhart
745d383af1
[MATH-1050] Remove deprecated methods ArithmeticUtils#pow(..., long).
2015-02-17 00:13:36 +01:00
Thomas Neidhart
5f47ad718e
[MATH-825] Method LaguerreSolver#laguerre(...) has been made private.
2015-02-16 23:57:19 +01:00
Thomas Neidhart
d0721feadc
[MATH-760] Made DescriptiveStatistics#windowSize private. Thanks to sebb.
2015-02-16 23:50:24 +01:00
Thomas Neidhart
e4e1ac23c7
Update for next development iteration: commons-math4
2015-02-16 23:37:23 +01:00
Thomas Neidhart
a7b4803ffe
Update for next development iteration: commons-math4
2015-02-16 23:35:42 +01:00
Gilles
68e6de3519
Javadoc
2015-02-04 14:10:33 +01:00
Gilles
a25b7b5846
HTML cleanup
2015-02-04 14:09:37 +01:00
Gilles
98d49ae58c
Typo
2015-02-04 13:57:58 +01:00
Gilles
c7fcb448c9
Javadoc
...
MATH-1201
2015-02-04 13:56:35 +01:00
Thomas Neidhart
859de3fcba
[MATH-1198] Add changelog entry.
2015-01-26 22:11:05 +01:00
Luc Maisonobe
f3e1598dfd
Fixed hidden field warning.
2015-01-26 10:21:07 +01:00
Luc Maisonobe
e7bf6afe50
Fixed checkstyle trailing whitespace warning.
2015-01-26 10:20:38 +01:00
Thomas Neidhart
eb57c2b4b1
Added missing changelog entry.
2015-01-25 20:44:56 +01:00
Sebb
3d9a76877b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-01-25 00:30:26 +00:00
Sebb
f7e42d2ccf
MATH-1198 Simplify FastMath exp function
...
Hopefully also fix Java 1.5 JIT bug
2015-01-25 00:26:21 +00:00
Gilles
75efbfd6b2
Quadratic mean
...
MATH-1199
2015-01-23 16:56:02 +01:00
Gilles
38e337f5c8
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-01-23 16:53:42 +01:00
Gilles
6a8ba1fecb
Quadratic mean
...
MATH-1199
2015-01-23 16:46:48 +01:00
Thomas Neidhart
6383def7f6
Fix javadoc: the type is an interface rather than an abstract class.
2015-01-21 21:03:41 +01:00
Thomas Neidhart
15bdcc3be2
Add temporary check for rare test failure.
2015-01-21 00:42:16 +01:00
tn
4e1958256e
Enable jacoco again.
2015-01-13 11:04:32 +01:00
tn
3923fc10fe
Disable jacoco temporarily.
2015-01-13 10:58:15 +01:00
tn
14619d3e60
Remove console output.
2015-01-13 10:40:44 +01:00
tn
cb177b56b7
Readd console output.
2015-01-13 10:35:27 +01:00
tn
0f36265123
Revert previous commit with debug output, fix typo.
2015-01-13 10:31:06 +01:00
tn
c30b59103b
Temporarily ignore FastMath tests and add console output to FastMath.exp().
2015-01-13 10:05:50 +01:00
Thomas Neidhart
b262c2359c
Add more debug output.
2015-01-13 09:51:49 +01:00
Sebb
9a9e726816
Document debug output
2015-01-13 02:00:47 +00:00
Sebb
b4abfb9367
More debug
2015-01-13 01:23:51 +00:00
Thomas Neidhart
dc5f850d1d
Add temp debug output
2015-01-12 22:07:54 +01:00