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
Sebb
bae46709ec
More debug
2015-01-12 20:08:44 +00:00
Sebb
1325e11410
Split into separate tests. Easier to determine which fails; also checks
...
if subsequent ones are failing
2015-01-12 19:38:40 +00:00
Sebb
85a20aad64
Fix indentation (no code change)
2015-01-12 19:05:01 +00:00
Sebb
ac1ebc0e9b
Unused
2015-01-12 19:02:35 +00:00
Sebb
c4768568c9
Tab police
2015-01-12 18:54:16 +00:00
Sebb
a14acdf639
More dubug
2015-01-12 18:36:54 +00:00
Sebb
b8e9475505
Add temp debug output
2015-01-12 18:20:01 +00:00
Luc Maisonobe
0c1e6fb256
Merge branch 'release-candidates'
2015-01-11 21:28:47 +01:00
Luc Maisonobe
81e12ee050
Preparing for next version.
2015-01-11 21:27:27 +01:00
Phil Steitz
5e6f4f18ff
Added a simpler perfect fit test that verifies slope standard error identically 0.
2015-01-11 11:21:50 -07:00
Phil Steitz
61f3eba79d
Added test confirming correct cumulative probability values for +-INF.
2015-01-11 10:17:13 -07:00
Phil Steitz
3a7519fcb1
Improved or corrected javadoc; added some tests.
2015-01-10 20:02:30 -07:00
Phil Steitz
e42ab0ec6c
Javadoc (a few missed updates re: MATH-1146)
2015-01-10 15:41:51 -07:00
Luc Maisonobe
ef6e0f8828
Preparing release 3.4.1.
2015-01-08 17:47:33 +01:00
Luc Maisonobe
c93cc818fb
Announced fix for non-Java1.5 code.
...
JIRA: MATH-1188
2015-01-08 17:41:58 +01:00
Gilles
18af25b616
README for "src/userguide"
...
Explains the contents of the directory and shows how to run the examples.
2015-01-08 13:13:50 +01:00
Sebb
6a82f92584
Arrays.copyOf is Java 1.6+
2015-01-08 10:22:03 +00:00
Sebb
3b7d0b9546
Override of interfaces is Java 1.6+
2015-01-08 02:48:04 +00:00
Gilles
5617ddc1b3
Configured language version.
2015-01-07 14:54:36 +01:00
Thomas Neidhart
e491f6e0bd
Add uber configuration for examples, bump version.
2015-01-07 11:28:26 +01:00
Luc Maisonobe
d06500b377
Preparing next version 3.5.
2014-12-26 20:04:07 +01:00
Luc Maisonobe
befd8ebd96
creating release candidate RC3
2014-12-23 10:28:44 +01:00
Gilles
6e5eedb3fc
Removed spurious deprecation warning (copy/paste mistake).
2014-12-21 14:53:48 +01:00
Luc Maisonobe
7c5118c6b0
Improved reference to license and notice in the end user documentation.
2014-12-19 14:44:03 +01:00
Luc Maisonobe
3d97f85484
Prepare link gor 3.4 javadoc.
2014-12-17 19:03:14 +01:00
Luc Maisonobe
f9437bc642
Candidate release date ...
2014-12-17 19:02:35 +01:00
Phil Steitz
44401d183d
Made it clear that NaNs or infinities may yield NaN in moment computations. JIRA: MATH-1146.
2014-12-16 20:45:33 -07:00
Phil Steitz
26e6114583
Made it clear that NaNs or infinities may yield NaN in moment computations. JIRA: MATH-1146.
2014-12-16 16:49:16 -07:00
Luc Maisonobe
75872ffe9b
fixed typos in error messages translations
2014-12-16 13:37:58 +01:00
Gilles
8d4fd1dabb
Removed unnecessary call to "super()".
2014-12-16 13:25:10 +01:00
Phil Steitz
540aa2e7ed
Fixed message format formatting.
2014-12-15 16:48:59 -07:00
Phil Steitz
b723f82bd5
Added Bessel functions of the first kind, based on NetLib implementation.
...
JIRA: MATH-1066
Based on patch provided by Brian Wignall
2014-12-15 15:11:32 -07:00
Phil Steitz
376958763c
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-12-15 14:58:44 -07:00
Phil Steitz
f80f577748
Added Bessel functions of the first kind, based on NetLib implementation.
...
JIRA: MATH-1066
Based on patch provided by Brian Wignall
2014-12-15 13:48:07 -07:00
Thomas Neidhart
809f0f89cb
[MATH-1154] Add clarification to ctor javadoc of all distributions to pass a null random generator in case no sampling is needed.
2014-12-15 21:21:09 +01:00
Gilles
59fe593a42
Javadoc
2014-12-15 17:06:20 +01:00
Gilles
92a027bc73
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-12-15 16:57:10 +01:00
Gilles
ed6109d0a2
Javadoc
2014-12-15 16:56:42 +01:00
Thomas Neidhart
d5f586bd4e
[MATH-1142] Improve performance of kalman gain calculation of KalmanFilter. Thanks to Arne Schwarz.
2014-12-15 16:50:50 +01:00
Phil Steitz
2fb2221d48
Fixed integer overflow in KolmogorovSmirnovTest causing 2-sample test
...
to use exact method when the product of the sample sizes exceeds
Integer.MAX_VALUE, resulting in effectively hung execution.
JIRA: MATH-1181
Reported by Gilad
2014-12-15 06:44:53 -07:00
Gilles
7fb571b16c
Javadoc
2014-12-15 13:48:48 +01:00
Gilles
de73ad3115
MATH-1180: Sequence of integers
...
Added to "MathArrays": method to create an array containing a sequence of integers.
2014-12-15 13:40:04 +01:00
Gilles
491786ce41
MATH-1172: Simple curve fitter
...
Provides boiler-plate code so that users can readily fit any parametric function.
2014-12-14 18:48:01 +01:00
Gilles
753f278d10
MATH-1173: Tricubic interpolation
...
New class "TricubicInterpolator" to replace "TricubicSplineInterpolator".
2014-12-14 18:25:08 +01:00
Luc Maisonobe
09129d5367
prepared release notes for version 3.4
2014-12-13 22:04:33 +01:00
Luc Maisonobe
9f42f18f15
updated download page for the next release (3.4)
2014-12-13 21:41:51 +01:00
Luc Maisonobe
4ed24c87c5
fixed missing closing element
2014-12-13 21:40:00 +01:00
Gilles
5d6e445484
MATH-1178 (typo in userguide)
...
Fixed incorrect example in "stat" section.
[Reported by Dmitriy.]
2014-12-09 00:13:28 +01:00
Gilles
c8f122c304
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
...
Conflicts:
src/changes/changes.xml
2014-12-03 12:30:26 +01:00
Gilles
fd7a4362ca
MATH-1173: Tricubic interpolation
...
New class "TricubicInterpolatingFunction" to replace "TricubicSplineInterpolatingFunction".
2014-12-03 12:25:09 +01:00
Luc Maisonobe
10b1c517cd
Filter out spurious vertices in polygons boundaries.
2014-12-03 12:20:18 +01:00
Gilles
17f52a2e55
MATH-1175
...
"LaplaceDistribution": Fixed special case of inverse cumulative distribution.
2014-12-03 12:06:03 +01:00
Luc Maisonobe
b4fb13bca9
Connect closest node instead of first node below threshold in polygons.
2014-12-03 10:25:44 +01:00
Luc Maisonobe
428a48533c
Fixed comment, the test for MATH-1174 does not fail anymore.
2014-12-02 22:35:27 +01:00
Luc Maisonobe
3f13fbeff3
Typo.
2014-12-02 22:29:45 +01:00
Luc Maisonobe
d21d3a94ab
Deprecated AVLTree and OrderedTuple.
...
These two classes were dirty hacks used only for the extraction of
boundary from 2D Euclidean BSP trees. They were not really efficient and
produces some problems as topology was not preserved.
A completely new implementation of boundary extraction has been set up
as of 3.4, that preserves more topological information and therefore
should be more robust. This new implementation does not use these
classes anymore.
As AVLTree is not really a math concept, this class is not considered to
belong to [math] scope. OrderedTuple is more a grey zone, but it is
really something inefficient and no need for it is foreseen.
2014-12-02 22:18:57 +01:00
Luc Maisonobe
e6aae3a8bf
Fixed a problem with too thin polygons considered to have infinite size.
2014-12-02 22:09:06 +01:00
Luc Maisonobe
893ef53c6c
Removed development traces.
2014-12-02 22:06:33 +01:00
Luc Maisonobe
84cf29ecf3
set up a weak link between a line and its reverse to avoid duplications.
2014-12-02 15:37:15 +01:00
Luc Maisonobe
6525cc4035
Added splitters in Boundary attributes.
2014-12-02 15:24:31 +01:00
Luc Maisonobe
26ee481939
Reorganized code, avoiding too many internal classes.
2014-12-02 15:24:31 +01:00
Luc Maisonobe
5f667c031c
Improved accuracy of internal computation.
...
The improvement is obtained by using high accuracy linear combinations
and by preserving cos/sin as much as possible. This last part is
important in the frequent case of lines along y axis, i.e. when angle is
π/2. We want the cosine to remain 0 and not get about 10^-17.
2014-12-02 15:24:31 +01:00
Luc Maisonobe
c29e3d681f
Identified a new failure mode for polygons.
2014-12-02 15:24:31 +01:00
Gilles
e11c00085c
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-12-02 12:06:10 +01:00
Gilles
c53f210610
Deprecation
...
Deprecating classes whose functionality is based on buggy code in
"BicubicSplinInterpolatingFunction" (MATH-1166).
2014-12-01 14:51:34 +01:00
Gilles
34f3f41960
Clirr
...
Revert binary-incompatible change.
2014-12-01 14:48:48 +01:00
Gilles
136bf34297
MATH-1166: Bicubic interpolation
...
New classes to replace "BicubicSplineInterpolatingFunction" and
"BicubicSplineInterpolator".
2014-11-28 15:16:51 +01:00
Luc Maisonobe
0802df0f73
Reactivated method commented out during development.
...
The method has been deprecated and replaced by a new method. It is not
used at all in the library, but is public so should be preserved.
2014-11-23 21:51:10 +01:00
Luc Maisonobe
046e3a2f58
Fixed a problem with vanishing sub-hyperplanes during BSP tree merging.
2014-11-23 21:46:22 +01:00
Gilles
8aec465b44
Clirr error
...
Return type cannot be changed (binary compatibility between minor releases).
2014-11-20 12:56:22 +01:00
Gilles
f8a8ea748a
Formatting.
2014-11-20 12:50:41 +01:00
Gilles
301ad59214
MATH-1167
...
Use user-specified threshold to allow detection of singular matrix.
[Reported, with fix, by Neil Ireson.]
2014-11-12 12:16:13 +01:00
Gilles
9786ad4de8
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-11-11 23:04:21 +01:00
Gilles
e3700ef350
Cleanup.
...
* Formatting (braces, indent, conditionals, array declaration, ...).
* Reduce variable's scope.
* Temporary variable to avoid multiple accesses to the same array element.
* Use "final" keyword.
2014-11-11 23:02:41 +01:00
Thomas Neidhart
596ccd59a1
[MATH-1165] Fix FuzzyKMeansClusterer when data points equal a cluster center. Thanks to Pashutan Modaresi
2014-11-06 22:56:19 +01:00
Luc Maisonobe
cd28a018fb
Fixed checkstyle warnings.
2014-11-03 21:16:08 +01:00
Gilles
ed565027c7
Update changes file for MATH-1144 (feature requested by Olexiy Movchan).
2014-11-03 11:54:11 +01:00
Gilles
7df65a5ddf
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-11-02 23:22:11 +01:00
Luc Maisonobe
45ae5c7e42
Added getInterpolatedSecondaryDerivatives to ContinuousOutputModel.
...
This method is a close relative to getInterpolatedDerivatives, but is
associated with the secondary state.
JIRA: MATH-1160
2014-10-22 21:40:32 +02:00
Luc Maisonobe
f8e6bc8ec7
Improved javadoc for ContinuousOutputModel and StepInterpolator.
...
The fact the arrays are reused is stated more clearly, as weel as the
fact changing the time changes the array content.
Yes, it is a bad design, we should change it in the next major version
to allocate fresh new arrays :-(
2014-10-22 21:36:40 +02:00
Luc Maisonobe
25aa4bd366
Provide access to state derivatives in ContinuousOutputModel.
...
JIRA: MATH-1160
2014-10-22 17:34:29 +02:00
Gilles
4a6bf542e1
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-10-21 10:32:41 +02:00
Hank Grabowski
79ae77fda8
MATH-1138 #comment added deprecation and accuracy warnings
2014-10-21 09:50:05 +02:00
Hank Grabowski
7200c43dea
MATH-1138 #comment added deprecation and accuracy warnings
2014-10-21 09:49:59 +02:00
Hank Grabowski
31fae64314
MATH-1138 #comment BicubicSplineInterpolator Maintenance
...
Moved the new bi-cubic interpolator functions to new Piecewise* version
of the same files. Restored the original bi-cubic functions and
restored the tricubic function to use the original functions as well
2014-10-21 09:49:21 +02:00
Gilles
29b1936291
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-10-20 23:20:09 +02:00
Luc Maisonobe
e89a80dd53
There are no nightly builds anymore from subversion head.
2014-10-18 17:17:16 +02:00
Luc Maisonobe
54e179b82a
Fixed a forgotten reference to subversion.
2014-10-18 17:14:35 +02:00
Luc Maisonobe
39387e75ff
Fixed link to source repository.
2014-10-18 17:09:06 +02:00
Luc Maisonobe
b5e155e7d0
Merge branch 'master' of https://luc@git-wip-us.apache.org/repos/asf/commons-math.git
2014-10-17 10:40:35 +02:00
Luc Maisonobe
4a339cda2c
Notified fix for bicubic splines.
...
Thanks to Hank Grabowski for the patch.
JIRA: MATH-1138
2014-10-17 10:29:20 +02:00
Luc Maisonobe
f44d4852ab
Fixed end of line encoding problems.
2014-10-17 10:23:23 +02:00
Luc Maisonobe
bf88cac1ac
Removed unused import.
2014-10-17 10:22:52 +02:00
Phil Steitz
a51908af1d
Fixed javadoc typo.
2014-10-15 15:54:27 -07:00
Gilles
a516976947
Debug output commented out.
2014-10-15 22:22:43 +02:00
Gilles
566c4d59a1
MATH-1144
...
Point must be retrieved after the call to "evaluate" (to ensure that
the validated parameters are actually used by the optimizer).
2014-10-15 22:14:46 +02:00
Hank Grabowski
bd3a6ecaa7
Merge remote-tracking branch 'upstream/master'
2014-10-15 10:20:34 -04:00
Hank Grabowski
d8bfc8c8f8
MATH-1138 #comment Implemented new BiCubicSplineInterpolator, supporting Akima Spline Interpolator and updated tests
2014-10-15 10:15:14 -04:00
Gilles
4c5cda210e
Typo.
2014-10-15 14:48:11 +02:00
Luc Maisonobe
f5a8bf398c
Whitespace.
2014-10-15 09:05:22 +02:00
Luc Maisonobe
fc7eeb4801
Merge remote-tracking branch 'oleersoy/master'
2014-10-15 09:02:58 +02:00
Gilles
321fd029ec
MATH-1144
...
Allow caller to modify the set of parameters generated by the optimizer.
2014-10-13 19:43:26 +02:00
Gilles
f820d06fc0
MATH-1144
...
New interface for allowing caller to validate (i.e. modify) the
set of parameters generated by the optimizer.
2014-10-13 19:39:27 +02:00
Phil Steitz
a3fdeb4da9
Changed inference classes to pass null RandomGenerators to distribution constructors. JIRA: MATH-1154.
2014-10-13 06:31:45 -07:00
Ole
0dec6e76fb
Corrected variance (Thanks Thomas) and added tests for inverseCumulativeProbability
2014-10-10 17:24:57 -05:00
Ole
4cb944ea68
Updated the class description
2014-10-09 10:13:31 -05:00
Luc Maisonobe
69273dca61
fixed too long first step in fixed Runge-Kutta integrators.
...
This change is similar to the one done two years ago for adaptive step sizes integrator.
JIRA: MATH-727
2014-10-08 14:25:05 +02:00
Luc Maisonobe
86b92b4e56
Fixed javadoc warnings.
2014-10-07 17:47:58 +02:00
Luc Maisonobe
b7867f45a0
Updated command to produce diffs.
2014-10-07 17:42:23 +02:00
Luc Maisonobe
b147ad9cbf
Fixed a wrong URL.
2014-10-07 17:40:12 +02:00
Luc Maisonobe
9d14fe21a4
Added proper checking of expected exception in FastMath tests.
...
Some of the new functions trigger exceptions in the data range used for
tests (overflows near range end, divisions by zero). The FastMath
implementation throws compatible exception in the same cases, this is
now tested correctly.
2014-10-07 16:32:59 +02:00
Luc Maisonobe
deb5e5298f
Improved explanation about git configuration.
2014-10-07 15:26:51 +02:00
Luc Maisonobe
a67f0a33e6
Added all Java 8 StrictMath methods to FastMath.
...
This change allows FastMath to remain compatible with newer Java
versions, despite it stiil requires only Java 5 to compile and run.
JIRA: MATH-1156
2014-10-07 13:54:55 +02:00
Thomas Neidhart
cee04d1648
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2014-10-06 23:08:27 +02:00
Thomas Neidhart
cde43197f9
Use MathUtils.PI_SQUARED.
2014-10-06 22:50:20 +02:00
Luc Maisonobe
e99b9ef254
Typo.
2014-10-06 14:27:21 +02:00
Luc Maisonobe
58ecf6b954
Updated developers documentation after migration to Git.
2014-10-06 14:25:09 +02:00
Thomas Neidhart
026af89ceb
Add missing since tag.
2014-10-03 23:17:15 +02:00
Thomas Neidhart
d76128ccf3
Modify changes as Phil did the actual work.
2014-10-03 23:15:39 +02:00
Thomas Neidhart
58d613bd8d
[MATH-1139] Added Gumbel, Laplace, Logistic and Nakagami distributions. Thanks to Alexey Volkov.
2014-10-03 23:12:09 +02:00
Phil Steitz
e3dda4407a
Added statistics missing from toString method in SummaryStatistics.
...
JIRA: MATH-1147
2014-10-03 10:59:44 -07:00
Thomas Neidhart
97accb47de
[MATH-1152] Improved performance of EnumeratedDistribution#sample(). Thanks to Andras Sereny.
2014-09-30 21:16:07 +02:00
Ole
97d32b14e6
Updated the example documentation for the GaussianCurveFitter.
...
This closes #4 pull request from GitHub.
Thanks to Ole for providing the patch.
2014-09-30 09:50:52 +02:00
Thomas Neidhart
4080feff61
[MATH-1148] Fix MonotoneChain with collinear points as input: take tolerance factor into account when initially sorting the input points. Thanks to Guillaume Marceau for the report.
2014-09-29 18:25:54 +02:00
Luc Maisonobe
5918daf872
Fixed error in interpolation example.
...
Thanks to Guylaine Prat for finding the error.
2014-09-29 16:34:44 +02:00
Luc Maisonobe
2a59e0ef4b
Recovered debugging method that were removed in the previous commit.
...
The methods are useful and the warning about them being unused could be
solved with an annotation.
2014-09-23 20:57:44 +02:00
Luc Maisonobe
e875e6d598
Fixed lots of warnings due to missing @Deprecated annotations.
2014-09-22 18:07:54 +02:00
Luc Maisonobe
abffaf334c
Removed subversion keywords $Id$, $Revision$ and $Date$.
...
Git does not support subversion keywords expansion.
2014-09-22 14:02:52 +02:00
Gilles Sadowski
e9464c0a6d
MATH-1151
...
New interface "ValueAndJacobianFunction" (to allow separate evaluation
of either quantity) is a precondition for lazy evaluation (and is enforced
by raising an exception early rather than wait for a failed cast).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1625967 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 13:15:12 +00:00
Gilles Sadowski
30b9f935e7
MATH-1146
...
Unit tests showing that the current implementation fails on some
special values (infinities). Other descriptive statistics values
are probably similarly affected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1625238 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 10:35:59 +00:00
Thomas Neidhart
76f154179b
[MATH-1145] Fix integer overflows in MannWhitneyUTest. Thanks to Anders Conbere.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1624756 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 15:46:38 +00:00
Thomas Neidhart
2bc9e7ea86
[MATH-1149] Fix potential null pointer dereferencing.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1624752 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 15:36:43 +00:00
Gilles Sadowski
78432c9755
MATH-1150
...
Typo (reported by Sergio Santoro).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1622206 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 10:09:22 +00:00
Gilles Sadowski
2f2a2ddaf6
MATH-1141
...
Allow same value for lower and upper bounds.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1615790 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 21:00:48 +00:00
Phil Steitz
f25a61670e
Modified KolmogorovSmirnovTest cdf computation to use the Pelz-Good
...
approximation (per Simard-L'Ecuyer) for n > 140. Removed R reference tests, as
our implementation is now different (but should be more accurate)
for the n values covered by the tests.
Also added a PI_SQUARED constant to MathUtils.
JIRA: MATH-1131
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1613723 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 20:51:41 +00:00
Luc Maisonobe
2af899b74b
Refactored removeAndSlice, replaceAndSlice.
...
Thansk to Venkatesha Murthy TS for the patch.
JIRA: MATH-1120
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1612346 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:38:45 +00:00
Gary D. Gregory
8af568eabb
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1612042 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 06:57:53 +00:00
Luc Maisonobe
1744e2803f
Factored Kth selector and pivoting strategy out from Percentile.
...
Thanks to Venkatesha Murthy for the patch.
JIRA: MATH-1120
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610141 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:52:29 +00:00
Luc Maisonobe
b6a5d26e74
whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610140 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:51:55 +00:00
Luc Maisonobe
662b6cbe5a
Unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610138 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:51:24 +00:00
Phil Steitz
cc4ab51ee9
Fixed BinomialDistribution to deal with degenerate cases correctly.
...
JIRA: MATH-1136
Reported and patched by Aleksei Dievskii.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1609775 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:22:18 +00:00
Thomas Neidhart
a7363a2ae6
[MATH-1135] Fix MonotoneChain algorithm in case of collinear hull points. Thanks to Guillaume Marceau.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1609577 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 21:39:53 +00:00
Thomas Neidhart
ad882055ed
[MATH-1131] Improve performance of KolmogorovSmirnovTest#kolmogorovSmirnovTest() for large samples. Thanks to Schalk W. Cronjé
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1607864 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 14:22:30 +00:00
Gilles Sadowski
792839b464
MATH-1134
...
Flag to request initialization of the internal data needed to call the partial
derivatives methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1607434 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 18:09:36 +00:00
Gilles Sadowski
d385c90c2e
MATH-1134
...
Instance fields made "final".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606940 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 22:23:16 +00:00
Gilles Sadowski
41b4ca622c
Userguide update.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606503 13f79535-47bb-0310-9956-ffa450edef68
2014-06-29 13:48:19 +00:00
Phil Steitz
25e774c315
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606389 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 20:12:58 +00:00
Phil Steitz
fca88f8e3d
Changed distribution tests to use fixed seed. JIRA: MATH-418. Thanks to Venkat Murthy.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606387 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 20:08:16 +00:00