Thomas Neidhart
3f7280b87e
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459082 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:24:09 +00:00
Thomas Neidhart
cb83dcd4a3
[MATH-862] check for rectangular input arrays in copySubMatrix methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459081 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:21:54 +00:00
Luc Maisonobe
9fd53fafa1
Fixed checkstyle warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458491 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 20:13:11 +00:00
Luc Maisonobe
59eb9a9bad
Removed development statement.
...
I'm really sorry for this...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458478 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 19:48:03 +00:00
Luc Maisonobe
68a9dc050f
Removed a spurious @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458468 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 19:32:28 +00:00
Gilles Sadowski
f83bbc1d68
MATH-949
...
Increment iteration counter.
By default, the maximum number of iterations is "Integer.MAX_VALUE".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458323 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 14:51:30 +00:00
Luc Maisonobe
4e4e8fad43
Added a way to trigger only increasing or decreasing events in ODE.
...
The method used is completely different from what was suggested in the
request report. It is fully compatible with previous versions and most
importantly has no side effects on users that do not need this feature,
as it is based on an upstream filtering of the event definition
function. The events detection logic is not modified and it fact it does
not even know events are filtered before they are detected.
JIRA: MATH-811
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458298 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 14:09:58 +00:00
Luc Maisonobe
424cbd201c
Fixed missing update in ODE event handlers.
...
When a RESET_STATE was triggered, event states for events not triggered
in the same step were not updated properly.
JIRA: MATH-950
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458294 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 14:09:08 +00:00
Phil Steitz
d18a6b8510
Replaced tests predating inference package with Chi-square tests. JIRA: MATH-598.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1457491 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 17:15:31 +00:00
Phil Steitz
5d5f253240
Made EmpiricalDistribution smoothing kernel pluggable.
...
To enable subclasses to provide the enclosing distribution's underlying RandomGenerator
to distribution constructors, two more changes were required:
* In EmpiricalDistribution, the RandomDataGenerator field (randomData) was changed
from private to protected.
* The private getRan() method in RandomDataGenerator returning the underlying
RandomGenerator was renamed getRandomGenerator and made public.
JIRA: MATH-671
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1457372 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 04:28:04 +00:00
Phil Steitz
7dd09bfb64
Dropped System.out.println from test code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1457138 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:49:05 +00:00
Phil Steitz
02d2d148fc
Added array-scaling methods to MathArrays. Patch provided by Jared Becksfort. JIRA: MATH-877
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1457130 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:30:41 +00:00
Luc Maisonobe
606fdac7df
Allow direct use of SummaryStatistics in one-way ANOVA.
...
Patch provided by Peter Andrews.
JIRA: MATH-877
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456958 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 13:55:27 +00:00
Luc Maisonobe
2e66239120
Added missing headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456957 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 13:54:52 +00:00
Luc Maisonobe
b421289d6e
Fixed javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456956 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 13:54:20 +00:00
Luc Maisonobe
c75c9e4092
Fixed infinite loop when NaN occurs in singular value decomposition.
...
JIRA: MATH-947
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456931 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 12:34:35 +00:00
Luc Maisonobe
53039d5d04
Added the Lévy distribution.
...
The patch from Andrew Waterman has been added, with several fixes and
extensions.
JIRA: MATH-460
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456907 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 11:39:14 +00:00
Luc Maisonobe
97a3ed9e21
Use erfinv in the normal distribution.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456906 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 11:38:23 +00:00
Luc Maisonobe
747476596e
Inverse error function and inverse complementary error function.
...
JIRA: MATH-948
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456905 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 11:37:35 +00:00
Phil Steitz
f636e77707
Renamed Discrete*Distribution to Enumerated*Distribution, improved javadoc, made some exceptions more precise. JIRA: MATH-942.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456769 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 04:51:34 +00:00
Thomas Neidhart
8e14f37169
Fix Clirr error wrt return type of DiagonalMatrix#copy.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1456179 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 22:02:07 +00:00
Luc Maisonobe
7b9797f4a2
Extended ranges for FastMath performance tests.
...
JIRA: MATH-580
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455921 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:55:46 +00:00
Luc Maisonobe
2fd0bbbeec
Finalized implementation of diagonal matrix.
...
JIRA: MATH-925
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455890 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 11:33:06 +00:00
Thomas Neidhart
8e48388154
Formatting, replace <, > with html entities.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455722 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 21:32:06 +00:00
Thomas Neidhart
6422f76a75
Fix findbugs warnings: non-serializable field, minor formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455716 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 21:12:21 +00:00
Thomas Neidhart
8586637471
Fix checkstyle warning: argument hides field.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455704 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 20:48:14 +00:00
Thomas Neidhart
c664e4d33c
Add null check to merge methods, refactor code a bit.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455703 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 20:46:23 +00:00
Luc Maisonobe
e1f1860894
Added rank revealing QR decomposition.
...
Patch applied after conversion to current status and slight adaptations.
JIRA: MATH-630
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455627 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 17:08:52 +00:00
Luc Maisonobe
62f86d9580
ArrayFieldVector can now be constructed from any FieldVector.
...
Thanks to Arne Plöse.
JIRA: MATH-570
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455260 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:55:12 +00:00
Luc Maisonobe
cb5e94419f
Improved checking of null vector elements.
...
The suggestions by Sébastien have been added and the second
implementation of FieldVector (SparseFieldVector) has been adapted
accordingly, despite it is deprecated.
JIRA: MATH-861
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455233 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:00:41 +00:00
Luc Maisonobe
6f3165670c
Filled throws clauses for the analysis package.
...
JIRA: MATH-854
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455194 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:45:54 +00:00
Luc Maisonobe
3ad5595706
Removed the log10 declaration in RealFieldElement interface.
...
This method introduced a binary incompatibility as one implementing
class (Dfp) did not have the proper return type and had to be changed.
The method will be added back in the interface for 4.0, when it will be
allowed to change the return type for Dfp.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455053 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 08:37:12 +00:00
Phil Steitz
9d5715114c
Removed implementation-specific doco from interface javadoc. The impl notes are already in the impl class docs (at least one of them).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455000 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 05:04:42 +00:00
Sebastian Bazley
0f7a461e1f
Add some recent tags
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454961 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 23:41:21 +00:00
Thomas Neidhart
e7f70e46c9
[MATH-942] Add sample(int, T[]) method, add missing since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454925 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:34:20 +00:00
Luc Maisonobe
c99413d2e9
Added utilities for prime numbers.
...
Thanks to Sébastien Riou.
JIRA: MATH-845
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454920 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:05:20 +00:00
Luc Maisonobe
ca139a75fe
Fixed checkstyle error.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454917 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:45:02 +00:00
Luc Maisonobe
2fe8ea8d8e
Removed wrong explanation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454904 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:46:02 +00:00
Luc Maisonobe
dc8b1f4ac5
Renamed ExtendedFieldElement into RealFieldElement.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:44:31 +00:00
Luc Maisonobe
a51119c013
Fixed generation of long random numbers between two bounds.
...
We now directly use discrete raw values to build the int/double instead
of relying on floating point arithmetic.
JIRA: MATH-936
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454897 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:02:54 +00:00
Luc Maisonobe
55a655ca2b
Fixed CLIRR error, by putting back protected methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 16:41:08 +00:00
Thomas Neidhart
56ed0aeb10
Added change entry for tests already added in 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454861 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 14:56:18 +00:00
Thomas Neidhart
e7a8a26185
Add exclude filters for false-positive: serialization is handled by an inner class via readResolve.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454856 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 14:39:21 +00:00
Luc Maisonobe
fd8a0da6b9
Fixed warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454847 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 13:07:08 +00:00
Luc Maisonobe
26f3166f11
Test new RandomDataGenerator class rather than deprecated RandomImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 13:02:04 +00:00
Luc Maisonobe
0d057fc6dc
Fixed creation of generic array.
...
Thanks to Piotr Wydrych.
JIRA: MATH-942
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454840 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 12:01:00 +00:00
Luc Maisonobe
f00bd95151
Check bounds in multi-start vector optimizers.
...
JIRA: MATH-914
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454746 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 17:37:30 +00:00
Luc Maisonobe
5f9169496b
Added exclude filters for RAT.
...
Many Apache license headers have been added in previous commits
(r1454703, r1454718, r1454719, r1454721, r1454722, r1454723). However
some test data files cannot be changed (empty file, files published by
by NIST), and in fact the content of this files is public, so they
cannot be subject to Apache license, so they are excluded from the RAT
report.
JIRA: MATH-921
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454726 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:50:19 +00:00
Luc Maisonobe
41b097afa5
Added Apache license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454723 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:40:21 +00:00
Luc Maisonobe
b95d3997a8
Added Apache license header.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454722 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:40:01 +00:00