Phil Steitz
8c1df65ae6
Simplified javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180315 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 05:13:16 +00:00
Phil Steitz
1ae0c80950
Fixed null handling in varargs for sortInPlace, improved javadoc, addeed tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180314 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 05:03:54 +00:00
Sebastien Brisard
bce28db653
Fixed trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180313 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 04:37:54 +00:00
Sebastien Brisard
76f7373367
Added FieldElement.negate() and FieldElement.reciprocal() (MATH-686).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180312 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 04:21:00 +00:00
Gilles Sadowski
d0633b818e
MATH-650
...
Large literal arrays factored out of "FastMath".
Slight efficiency improvement of "resource" alternative.
Output result in "FastMathLoadCheck".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180294 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 02:02:07 +00:00
Gilles Sadowski
0eee4b6f14
Layout and doc minor fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180232 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 20:54:06 +00:00
Luc Maisonobe
92743c883b
Added forgotten equals method for the hash table elements.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180097 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 16:44:18 +00:00
Luc Maisonobe
461c45aa7d
Added Jacobi orthogonal polynomials.
...
JIRA: MATH-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180092 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 16:31:04 +00:00
Luc Maisonobe
ca133d8940
Added orthogonality tests for special polynomials.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180055 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 14:34:45 +00:00
Luc Maisonobe
732f83c0b5
Fixed exception type
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179951 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 07:33:21 +00:00
Luc Maisonobe
487eaeecfc
Removed unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179950 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 07:32:54 +00:00
Luc Maisonobe
13943e731b
Fixed compilation errors due to recent exception changes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179949 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 07:30:17 +00:00
Luc Maisonobe
d079f625be
Added checkstyle filter for declaration orders in FastMath.
...
FastMath uses very large tables which are located at end of class for
better readability. this is not a standard layout, but is well suited
for this case, hence we explicitly suppress checkstyle warning for these
tables.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179948 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 07:26:26 +00:00
Luc Maisonobe
0251da64fd
Added checkstyle filter for exceptional catch of RuntimeException.
...
These catch occur in multi-start optimizers. The exceptions are caught
and stored, and if all restarts fail, then one of the stored
RuntimeException is rethrown. The purpose of multi-start is both to
allow some trials to fail and to avoid being trapped in a local
extremum. Catching RuntimeException is therefore mandatory here, and not
dangerous since we rethrow them as needed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179947 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 07:25:51 +00:00
Greg Sterijevski
a339a751b9
JIRA Math-630 First push of PivotingQRDecomposition
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179935 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 05:21:17 +00:00
Phil Steitz
6f2488d31c
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179932 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 04:07:23 +00:00
Phil Steitz
db0ac031e7
Javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179928 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 03:20:39 +00:00
Phil Steitz
15a1e0410a
Improved javadoc, added test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179927 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 03:19:10 +00:00
Phil Steitz
91f737519e
Javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179926 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 03:18:05 +00:00
Gilles Sadowski
23da497319
MATH-683
...
New method "shift" to compute coefficients of a polynomial (due to R. di Costanzo).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179671 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 15:44:41 +00:00
Sebastien Brisard
61018c7997
Modifications to the ConjugateGradient class and unit tests
...
- altered the way iterations are counted: Incrementor is incremented prior to any modification to the current state, so that the solver is in a consistent state (accessible residual corresponds to the last estimate of the solution), even in case of MaxCountExceededException occuring.
- modified some tests which were not testing anything.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179488 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 02:14:20 +00:00
Luc Maisonobe
8fcbe82ab6
Fixed test changed by former exceptions modifications.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178808 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:14:28 +00:00
Luc Maisonobe
e777a24d2b
Fixed overzealous replacement of equations by expandable ...
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178807 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:14:15 +00:00
Luc Maisonobe
2dbc66e4fd
Replaced obsolete exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178806 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:14:02 +00:00
Luc Maisonobe
c733f8c422
Fixed missing generics.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178805 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:13:46 +00:00
Sebastien Brisard
309dd689eb
Added method multiply(int) to FieldElement, and updated implementing classes and tests accordingly. Solves MATH-684.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178715 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:12:05 +00:00
Sebastien Brisard
2898bc6403
Translated error messages for IllConditionedOperatorException and SingularOperatorException into french.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 08:13:08 +00:00
Sebastien Brisard
1d0479bfb3
- Replaced LinearOperator with Operator in exception names in order to make them shorter (as discussed on the ML).
...
- Created IllConditionedOperatorException.
- Created SingularOperatorException (as discussed on the ML).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178306 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 06:33:21 +00:00
Phil Steitz
2568420bf6
Eliminated MathException from distribution interfaces and impls.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178295 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 04:36:27 +00:00
Phil Steitz
0cf21a482b
Removed trailing space.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178293 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 04:19:48 +00:00
Phil Steitz
63febb4f93
Added constructor taking a localized message.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178287 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 02:54:07 +00:00
Luc Maisonobe
3ae07f34ab
Fixed about 90 checkstyle errors.
...
The errors were mainly trailing blanks, missing javadoc, wrong javadoc
parameters, hidden variables ...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178235 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 19:43:17 +00:00
Luc Maisonobe
76b57cddf3
Removed unused exception.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178234 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 19:41:48 +00:00
Phil Steitz
2059461aff
Replaced obsolete exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178223 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 19:03:49 +00:00
Phil Steitz
9f0e8ef283
Replaced obsolete exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178213 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 18:20:18 +00:00
Phil Steitz
05cdc9f273
Replaced obsolete exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178211 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 18:10:03 +00:00
Phil Steitz
48f14e7769
Replaced obsolete exception.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178202 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 16:20:04 +00:00
Phil Steitz
4b6960624a
Fixed javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178198 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:47:39 +00:00
Phil Steitz
21bebf28fd
Fixed javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178197 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:43:11 +00:00
Luc Maisonobe
1e1a7cd40b
Added a cache file for checkstyle TreeWalker.
...
Using maven chekstyle plugin up to version 2.7, this property is not set
by default and should be set explicitely in the checkstyle configuration
file to prevent the report generation from failing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178196 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:25:20 +00:00
Luc Maisonobe
7c81ac50a2
Replaced obsolete exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178195 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:05:26 +00:00
Gilles Sadowski
a08f9179d3
MATH-676
...
Faster "multiply" method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178186 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 13:00:41 +00:00
Luc Maisonobe
b8b4338994
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178173 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:18:14 +00:00
Luc Maisonobe
cea840d31b
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178172 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:11:43 +00:00
Luc Maisonobe
166cdbb4e2
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178171 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:10:50 +00:00
Luc Maisonobe
005b83d0eb
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178170 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:10:12 +00:00
Luc Maisonobe
2d0bacedae
Switched to checkstyle 5.x, so we can use package-info.java.
...
JIRA: MATH-445
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178168 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:58:38 +00:00
Luc Maisonobe
121638c7c2
fixed missing space in package-info.java due to a script error
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178163 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:25:27 +00:00
Luc Maisonobe
d9964d8cbe
Replaced deprecated exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178082 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:01:22 +00:00
Luc Maisonobe
c60cba2ec3
Replaced obsolete exception.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178081 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 19:49:51 +00:00