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
Otmar Ertl
8ed2209b1f
MATH-1285: replaced inappropriate reference to MathWorld by reference to
...
Wikipedia's article about Zipf's law, thanks to Pim van der Hoorn for
reporting this issue
2015-10-27 20:33:39 +01:00
Thomas Neidhart
9e0c5ad4b3
[MATH-1283] Fixed Gamma#gamma function for values smaller than -20. Thanks to Jean Noel Delavalade
2015-10-22 22:26:47 +02:00
Thomas Neidhart
260a4392a8
[MATH-1237] Forgot one occurrence of the javadoc error.
2015-10-19 22:03:25 +02:00
Thomas Neidhart
435384cf13
[MATH-1237] Fix javadoc of methods floorDiv,floorMod in FastMath. Thanks to Ken Williams.
2015-10-19 21:59:13 +02:00
Thomas Neidhart
e14d9ce8e3
[MATH-837] Support aggregation of any kind of StatisticalSummary in AggregateSummaryStatistics.
2015-10-19 21:41:16 +02:00
Luc Maisonobe
1b5925b563
Avoid slight inaccuracies at the end of events detections steps.
2015-10-02 17:37:01 +02:00
Gilles
66d0a9a0a0
MATH-1279
...
Check precondition.
Thanks to David Georg Reichelt for the report.
2015-09-30 15:01:32 +02:00
Luc Maisonobe
2aa4681cb8
Fixed checkstyle warning about parentheses.
2015-09-21 11:25:08 +02:00
Gilles
6c4e1d719f
MATH-1278
...
Deep copy of "Neuron", "Network" and "NeuronSquareMesh2D".
2015-09-20 22:02:21 +02:00
Otmar Ertl
2fd6c8fa1e
[MATH-1276] Improved performance of sampling and inverse cumulative
...
probability calculation for geometric distributions.
2015-09-20 20:33:41 +02:00
Otmar Ertl
4158323ee4
extended GeometricDistributionTest to test inverse cumulative
...
probability function also at point 1
2015-09-20 20:25:39 +02:00
Otmar Ertl
079a07fe18
optimization of probability, logProbability, and cumulativeProbability
...
methods in GeometricDistribution by precalculation of log(1-p) and
log(p)
2015-09-20 20:20:16 +02:00
Otmar Ertl
73351b6adb
code cleanup in GeometricDistribution.java as proposed by Gilles:
...
* removed needless declaration of a local variable "p" with the same
value as the "probabilityOfSuccess" field
* remove needless local variable "ret" ("return" statements can be used
directly in each way of the alternatives)
2015-09-20 20:11:47 +02:00
Otmar Ertl
fb0078159d
MATH-1277: Fixed incorrect Kendall's tau coefficient calculation due to
...
internal integer overflow. Thanks to Marc Rosen.
2015-09-20 10:04:44 +02:00
Gilles
6fe2094e30
"@Override" tag
...
Inadvertently removed in back/forward porting gymnastics.
2015-09-19 14:57:49 +02:00
Gilles
f36090e314
Fixed SOFM U-matrix (individual distances)
...
Some "diagonal" pixels were overwritten.
2015-09-19 14:51:51 +02:00
Gilles
924e1e9064
MATH-1270
...
Visualization of quantization error.
2015-09-18 00:14:39 +02:00
Otmar Ertl
fb7e1e265d
MATH-1274: representation of Kolmogorov-Smirnov statistic as integral
...
value
2015-09-16 20:18:06 +02:00
Gilles
b189817a39
Update "changes.xml".
2015-09-14 02:23:38 +02:00
Gilles
8b25e786e9
Unused variable.
2015-09-14 02:20:40 +02:00
Gilles
ce131449a4
MATH-1270
...
Various SOFM visualizations: unified distance matrix, hit histogram,
smoothed data histogram, topographic error.
2015-09-14 02:08:30 +02:00
Gilles
999761ba1b
MATH-1268
...
API for algorithms that create some visualization of a 2D SOFM.
2015-09-14 02:07:36 +02:00
Gilles
f348d34fb1
MATH-1267
...
Helper for finding the grid coordinates of a "Neuron" in a "NeuronSquareMesh2D".
2015-09-14 02:06:43 +02:00
Gilles
cd55cbbcc5
Javadoc
...
Methods "divideUnsigned" and "remainderUnsigned" do not exist in Java 7.
2015-09-14 01:59:23 +02:00
Qualtagh
40f969bc9e
Added negative zero support in FastMath.pow.
...
JIRA: MATH-1273
Github: closes #16
2015-09-11 19:47:56 +02:00
Qualtagh
8c141a1705
Added divideUnsigned and remainderUnsigned to ArithmeticUtils.
...
JIRA: MATH-1271
2015-09-11 18:16:35 +02:00
Luc Maisonobe
85d2568dea
improved user guide on FiniteDifferencesDifferentiator.
2015-09-11 10:03:49 +02:00
Luc Maisonobe
9856f285e4
Clarified comments.
2015-09-10 15:09:20 +02:00
Luc Maisonobe
9ee68c2ff2
Typo.
2015-09-10 13:29:25 +02:00
Luc Maisonobe
d93c95d530
Pow function re-implementation has been backported to 3.6.
2015-09-10 10:39:02 +02:00
Luc Maisonobe
2edae4ddd7
Typos.
2015-09-10 10:34:33 +02:00
Luc Maisonobe
26e878ab3a
Fixed infinite loop in FastMath.pow(double, long) with Long.MIN_VALUE.
...
JIRA: MATH-1272
2015-09-10 10:34:08 +02:00
Phil Steitz
941b13f8ed
Remove trailing spaces.
2015-09-08 18:12:14 -07:00
Phil Steitz
ce98d00852
Modified exactP to correctly handle ties. JIRA: MATH-1246.
2015-09-08 18:00:58 -07:00
Luc Maisonobe
2091cfbabc
Fixed split/side inconsistencies in BSP trees.
...
JIRA: MATH-1266
2015-09-06 20:17:13 +02:00
Luc Maisonobe
870d11b666
Missing @Override.
2015-09-06 19:49:51 +02:00
Gilles
b10b90b0a3
Missing import.
2015-09-04 17:19:48 +02:00
Gilles
82b84c0fe9
Missing import.
2015-09-04 16:30:40 +02:00
Gilles
18a027b1f0
MATH-1265
...
Implement "Iterable".
2015-09-04 16:11:41 +02:00
Gilles
1f7b1c12ff
Javadoc.
2015-09-01 14:42:32 +02:00
Gilles
ede62afa2c
Javadoc (wrong syntax for "@see" tag).
2015-09-01 14:38:37 +02:00
Gilles
5f06b72845
Javadoc.
2015-09-01 14:35:48 +02:00
Gilles
67a7fdc193
Update "changes.xml".
2015-09-01 14:27:58 +02:00
Gilles
6c21bdb4a1
MATH-1264
...
Sort units according to distance from a given vector.
2015-09-01 14:16:36 +02:00
Luc Maisonobe
138f84bfa5
Missing javadoc.
2015-08-31 13:49:54 +02:00
Luc Maisonobe
672b6c6452
Spurious javadoc parameter.
2015-08-31 13:47:05 +02:00
Gilles
ad7d149bc9
Backport tracking.
2015-08-30 18:58:55 +02:00
Gilles
08cc26e70b
Variable can be "final".
2015-08-30 18:48:39 +02:00
Gilles
9b3cce44ec
Backport tracking.
2015-08-30 18:41:08 +02:00
Gilles
46e97d9e04
MATH-1263
...
Accessor to get neighbouring neurons (in a square grid).
2015-08-30 18:20:19 +02:00
Gilles
47fa07eade
Use new incrementor implementation (cf. MATH-1259).
2015-08-30 18:08:31 +02:00
Gilles
d17cabe29f
Update "changes.xml".
2015-08-30 16:30:33 +02:00
Gilles
818533e92b
MATH-1259
...
New class to replace the current "Incrementor" (now deprecated).
Additional functionality: negative initial value and/or increment,
"range" utility method.
2015-08-30 16:23:23 +02:00
Gilles
7b9df59a96
Constant can be "static" (FindBugs)
2015-08-29 00:26:43 +02:00
Gilles
10dc13c807
Fixed comparison pattern (FindBugs)
2015-08-29 00:03:03 +02:00
Gilles
392323e2d4
Performance (FindBugs)
2015-08-28 23:42:39 +02:00
Otmar Ertl
e323f3c71b
added missing backport info
2015-08-25 06:50:58 +02:00
Thomas Neidhart
096aa4e60b
Remove changelog entry which was superseded by another improvement.
2015-08-24 22:17:07 +02:00
Otmar Ertl
9c51e5316b
MATH-1220: random generator based on rejection-inversion sampling for
...
Zipf distributions
2015-08-24 20:59:04 +02:00
Gilles
1c194a0dcc
Trailing white-space. Javadoc.
2015-08-22 15:27:42 +02:00
Otmar Ertl
72a46babeb
MATH-990: improved in-place sorting by using a helper class instead of
...
the generic Pair class, in order to avoid boxing and unboxing
2015-08-22 11:47:09 +02:00
Gilles
0b5bd38e86
MATH-1243
...
Removed deprecated code.
2015-08-21 14:42:13 +02:00
Gilles
3aa34dbc9d
Backport tracking.
2015-08-21 00:26:59 +02:00
Gilles
4c4b3e2e32
MATH-1261
...
Avoid unnecessary overflow. Thanks to Osamu Ikeuchi.
2015-08-21 00:13:35 +02:00
Otmar Ertl
44c6d267ae
MATH-1258: added entry to changes.xml
2015-08-20 20:13:33 +02:00
Otmar Ertl
5ca0a1c356
MATH-1258: check for equal array lengths in distance functions
2015-08-20 17:29:02 +02:00
Gilles
f70741c9b2
MATH-1258
...
New utility "checkEqualLength" to consistently report failed precondition.
2015-08-20 12:58:41 +02:00
Gilles
a7ef0455c3
Backport tracking.
2015-08-19 23:14:17 +02:00
Gilles
03178c8b15
MATH-1257
...
Increased accuracy.
2015-08-19 23:02:40 +02:00
Gilles
e7e8c3f717
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-08-17 13:29:51 +02:00
Gilles
41f2978099
MATH-1256
...
Enforce order of bounds.
2015-08-17 13:20:22 +02:00
Luc Maisonobe
afd3f90054
Improved userguide on BSP trees
2015-08-14 21:33:33 +02:00
Gilles
4f548acfd1
"backport" indication.
2015-08-14 16:39:00 +02:00
Gilles
41ee94f009
Javadoc.
2015-08-14 16:32:40 +02:00
Gilles
4f73871cf4
MATH-1255
...
Wrong usage of "Gaussian" function.
2015-08-13 23:32:37 +02:00
Gilles
63bc0dbfd8
Missing quote.
2015-08-13 23:27:40 +02:00
Luc Maisonobe
2309f28e3d
added a least squares section in the user guide
2015-07-27 22:14:17 +02:00
Phil Steitz
09fe956a62
Changed data size check to be positive length, not > 1 to fix
...
ResizableDoubleArray constructor failure on input array of
length 1.
JIRA: MATH-1252
Thanks to John Bay
2015-07-23 20:35:25 -04:00
Gilles
5d49c9797e
Backport tracking.
2015-07-20 16:10:35 +02:00
Luc Maisonobe
1644256e43
Fixed checkstyle warning.
2015-07-20 13:06:45 +02:00
Gilles
9c545d44a4
MATH-1251
...
Fixed initial value of the "number of calls" counter.
2015-07-19 23:26:48 +02:00
Gilles
af199c675d
Tracking backport.
2015-07-19 21:07:36 +02:00
Gilles
7a8a778331
New private method for factoring out some common code.
2015-07-19 00:07:03 +02:00
Gilles
a7fe613853
MATH-1250
...
Methods to estimate concurrency performance.
2015-07-19 00:02:45 +02:00
Otmar Ertl
cf4416a842
[MATH-1242] fixed shuffle algorithm used by the Monte Carlo KS statistic
...
calculation method, moved shuffle algorithm to static package-private
method that is now explicitly tested by a unit test
2015-07-17 20:46:53 +02:00
Gilles
387880a630
Use utility method for "not null" checks.
2015-07-12 00:44:14 +02:00
Gilles
1fe7a43505
MATH-1248
...
Unnecessary allocations in "BigFraction".
Thanks to Chris Popp.
2015-07-11 14:54:43 +02:00
Phil Steitz
32d33210a9
Fixed error in computing discrete distribution of D statistics for small-sample
...
2-sample Kolmogorov-Smirnov tests. Error was causing incorrect p-values returned
by exactP and monteCarloP methods (used by default for small, mid-size samples).
JIRA: MATH-1245
2015-07-10 11:55:58 -07:00
Luc Maisonobe
0f6812858a
Removed use of awt transforms.
2015-07-10 15:33:10 +02:00
Luc Maisonobe
9036edd6d6
Reverted change about getters in bicubic interpolation.
...
As discussed on the mailing list, the caller already knows the arrays as
it is the caller who provided them initially.
2015-07-06 20:39:38 +02:00
Luc Maisonobe
70538e67fb
Reverted commit about mapping functions in MathArrays.
...
As discussed on the mailing list, the same result can be obtained with
existing higher level API, for example:
new ArrayRealVector(array, false).map(f).toArray();
2015-07-06 20:33:37 +02:00
Gilles
9575054ff0
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
...
Conflicts:
src/changes/changes.xml
2015-07-06 14:03:48 +02:00
Gilles
5f9dda6b90
MATH-1243
...
Refactoring of "microsphere interpolation" algorithm.
2015-07-06 13:52:02 +02:00
Luc Maisonobe
3ac3ff62b8
Add getXmax, getXmin, getYmax, getYmin to BicubicInterpolatingFunction.
...
These can be useful to manage an OutOfRangeException without the need to
access the original x and y arrays.
Closes #9 .
2015-07-05 10:21:53 +02:00