Commit Graph

4603 Commits

Author SHA1 Message Date
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
Luc Maisonobe 374fe6e432 Added Apache license headers.
The header has been added to data files, and the corresponding test has
been updated to ignore the header lines.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454721 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:39:41 +00:00
Luc Maisonobe 95ec5653c6 Added Apache license headers.
The header has been added to test files, and the corresponding test
updated to ignore the header lines.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454719 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:34:05 +00:00
Luc Maisonobe 76654191ac Added missing Apache license headers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454718 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:33:31 +00:00
Luc Maisonobe cf5eea99f4 removed .svnignore file that made RAT unhappy because of missing license header.
The svn:ignore property is still set on the directory, so the file was superfluous.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454703 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 13:36:07 +00:00
Luc Maisonobe a0086bc16d Fixed javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454464 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:58:10 +00:00
Luc Maisonobe fde2416fe3 Fixed false positive findbugs warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454462 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:57:28 +00:00
Luc Maisonobe 2405474275 Fixed checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454461 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:56:59 +00:00
Luc Maisonobe 2dd51f50d9 Removed redundant public modifiers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454442 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:09:12 +00:00
Luc Maisonobe b13e6785df Added missing header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454441 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:08:43 +00:00
Luc Maisonobe 91ebbb6294 Added discrete distributions.
Patch contributed by Piotr Wydrych.

JIRA: MATH-941

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454439 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 15:59:29 +00:00
Thomas Neidhart e6a5e6dc9c Make more specific exclude filter for download cgi.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454262 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 07:33:54 +00:00
Thomas Neidhart 26a0fb3b40 Put back in the -Prelease profile.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454258 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 07:26:01 +00:00
Thomas Neidhart 721a674d93 Exclude download cgi from source distribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454037 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 19:29:41 +00:00
Thomas Neidhart e0d71d7747 Fix first step in release howto.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453990 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 18:36:15 +00:00
Luc Maisonobe 408fa3a6af Fixed abstract test class naming that broke ant builds.
JIRA: MATH-940

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 10:59:33 +00:00
Luc Maisonobe 49444ee6a5 Allow covariance to be computed for one-dimensional variables.
JIRA: MATH-939

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453271 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 10:29:51 +00:00
Luc Maisonobe 73605560b9 Fixed accuracy of 3D Line.revert().
JIRA: MATH-938

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453218 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 08:53:28 +00:00
Thomas Neidhart 43a6f15a1a Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1452595 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 23:29:39 +00:00
Luc Maisonobe 04050f3552 Improved javadoc to explain how switching functions should behave across
events in ODE events detection.

JIRA: MATH-937

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1451658 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:36:46 +00:00
Olivier Lamy 9cba348d7b restore download cgi
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450538 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 23:52:00 +00:00
Olivier Lamy 81df5de922 fix links to previous release javadocs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450238 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:54:58 +00:00
Olivier Lamy ec49cf7d37 use last parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450236 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:53:46 +00:00
Luc Maisonobe feda07b7e5 Brought back some useful static methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450096 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 09:29:25 +00:00
Luc Maisonobe b84754cc7f Added derivatives evaluation for field Hermite interpolator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449822 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 19:31:52 +00:00
Luc Maisonobe f4e9bfe99f New test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449744 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 15:19:41 +00:00
Luc Maisonobe d788563f4e Removed development traces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449735 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:52:52 +00:00
Luc Maisonobe 2925baa963 Improved test coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449723 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:34:37 +00:00
Luc Maisonobe ccdf6bd680 Fixed definition of remainder and added missing copySign signature.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449722 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:33:53 +00:00
Luc Maisonobe 684a87be70 Added Hermite interpolator for ExtendFieldElement instances.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449657 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 10:59:10 +00:00