Gilles Sadowski
ae7a9de06f
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167614 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 22:13:34 +00:00
Gilles Sadowski
3a68ac25a9
MATH-664
...
Allow to pass a singularity threshold value to "getCovariances".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167612 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 21:53:49 +00:00
Greg Sterijevski
e2c4bfcd29
(MATH-649) SimpleRegression needs the ability to suppress the intercept
...
This commit pushes changes to allow the estimation of the a regression in which the intercept is constrained to be zero. I am also pushing changes to change.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167600 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 20:21:52 +00:00
Greg Sterijevski
25acfb6505
Changing doc to reflect revised constructor for SimpleRegression
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167460 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 05:20:56 +00:00
Greg Sterijevski
99458101a5
Added a comment as per mail list
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167454 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 04:43:36 +00:00
Greg Sterijevski
88ced96cd0
(MATH-649) SimpleRegression needs the ability to suppress the intercept
...
This commit pushes changes to allow the estimation of the a regression in which the intercept is constrained to be zero. I am also pushing two unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167451 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 04:18:31 +00:00
Gilles Sadowski
8929c05521
New constructor that enables one to customize the behaviour at counter
...
exhaustion (namely, select which exception to throw).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167387 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 23:01:59 +00:00
Gilles Sadowski
8f09fa850a
New constructor and "canIncrement" method.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167371 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 21:58:37 +00:00
Gilles Sadowski
2342db442a
NonPositiveDefiniteMatrixException": Changed base class, and modified message so
...
that it is (a little) less misleading (it is closer to the actual check which can
only report that it detects non-definite-positiveness at some point of the
transformation).
Changed test in "CholeskyDecompositionImpl" to allow "O" for the threshold while
keeping the requirement that the element must be strictly positive.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167252 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 15:44:57 +00:00
Gilles Sadowski
90b0c47e59
Using Junit4 annotation instead of explicit try/catch.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167217 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:35:00 +00:00
Sebastian Bazley
6bba078367
MATH-658 Dead code in FastMath.pow(double, double) and some improvement in test coverage
...
Fix test cases to use Assert rather than throws
Convert comments on test cases to assert messages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1167180 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:04:19 +00:00
Sebastien Brisard
a21ce79c18
Removed double[][] solve(double[][]) from SingularValueDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166965 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:14:15 +00:00
Sebastien Brisard
58973e521f
Removed double[][] solve(double[][]) from QRDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166964 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:13:31 +00:00
Sebastien Brisard
ac3c66add4
Removed double[][] solve(double[][]) from LUDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166963 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:13:03 +00:00
Sebastien Brisard
4a73dfc4fe
Removed double[][] solve(double[][]) from EigenDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166962 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:12:22 +00:00
Sebastien Brisard
fc1bf19d9a
Removed double[][] solve(double[][]) from CholeskyDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166961 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:11:27 +00:00
Sebastien Brisard
0b0573d826
Removed double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166960 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 02:09:44 +00:00
Sebastian Bazley
4affc3915c
Tab police; also removed unnecessary trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166926 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 22:18:38 +00:00
Sebastian Bazley
6f0ff08189
Tab police
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166925 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 22:17:30 +00:00
Luc Maisonobe
acb06a976b
removed static imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166869 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 19:33:13 +00:00
Sebastian Bazley
ace9e15ad9
MATH-658 Dead code in FastMath.pow(double, double) and some improvement in test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166771 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:59:11 +00:00
Gilles Sadowski
2434e63187
Deleted obsolete Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166751 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:36:54 +00:00
Gilles Sadowski
a4d48af48a
More detailed message for "NonPositiveDefiniteMatrixException".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166674 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 13:13:16 +00:00
Gilles Sadowski
6b9cf3c1ec
MATH-566
...
Removed "MathThrowable".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166646 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 12:08:16 +00:00
Gilles Sadowski
7de255581c
Wrong message.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166639 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 11:52:54 +00:00
Gilles Sadowski
23df2f536f
MATH-663
...
Removed "getData" method in "RealVector"; replaced calls with "toArray()".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166629 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 11:15:02 +00:00
Gilles Sadowski
1607b9c7ed
Wrong place-holder.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166594 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:56:24 +00:00
Sebastien Brisard
c004c9daea
Removed call to double[][] solve(double[][]) from initializeHighOrderDerivatives.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166533 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 05:59:22 +00:00
Sebastien Brisard
5ec76b26fa
Removed call to double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166516 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 03:24:28 +00:00
Sebastien Brisard
102473af94
Removed call to double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166515 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 03:24:04 +00:00
Sebastien Brisard
0eac3c014c
Removed call to double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166514 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 03:23:44 +00:00
Sebastien Brisard
0cf42e9ae0
Removed call to double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166513 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 03:23:19 +00:00
Sebastien Brisard
a2f25ddb6e
Removed call to double[][] solve(double[][]) from interface DecompositionSolver.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166512 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 03:22:50 +00:00
Sebastian Bazley
aeb0f8329e
MATH 650 FastMath has static code which slows the first access to FastMath
...
Enclose each large data table in nested static class so it's only loaded on first access
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166437 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 22:05:06 +00:00
Luc Maisonobe
4107ac1db8
Removed completely MathUserException.
...
JIRA: MATH-195
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166311 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 18:48:06 +00:00
Gilles Sadowski
22072e0060
Added "final".
...
Moved declaration of "sum" where it is used.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1166099 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 10:34:49 +00:00
Sebastian Bazley
687cc21cb4
More docn of algorithms and magic numbers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165929 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 23:33:54 +00:00
Sebastian Bazley
0fcbaec47a
Document some magic numbers; trailing spaces; other doc tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165903 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 22:17:21 +00:00
Sebastian Bazley
a1dd05b8c8
MATH 650 FastMath has static code which slows the first access to FastMath
...
First pass - convert runtime init to preset initialisers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165846 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:58 +00:00
Luc Maisonobe
0f0e1abde9
removed MathUserException from linear package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 20:19:37 +00:00
Luc Maisonobe
e1836fd8ac
removed MathUserException from DFP package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165821 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 20:18:42 +00:00
Luc Maisonobe
1490873b33
added documentation about error handling in user functions in the userguide
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165810 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 20:01:07 +00:00
Luc Maisonobe
6968a4afd6
removed MathUserException from analysis package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165809 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 20:00:37 +00:00
Luc Maisonobe
78d1a613d4
removed MathUserException from transform package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165808 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 19:59:47 +00:00
Luc Maisonobe
1de3d116a9
removed MathUserException from ODE package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165792 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 19:17:52 +00:00
Luc Maisonobe
e751cc22b6
Removed last use of MaxEvaluationsExceededException.
...
This exception was now used only in ODE. It has been replaced by
MaxCountExceededException, triggered by an Incrementor instance just as
what is done in root solvers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165790 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 19:16:05 +00:00
Gilles Sadowski
67480f06e8
MATH-621
...
Bug (in an unexplored code path); fixing by comparison with original code.
Added exception to track unexplored path.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165656 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 13:05:55 +00:00
Sebastien Brisard
13baf52944
Fixed a Checkstyle complaint.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165510 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 06:38:43 +00:00
Sebastien Brisard
ca460b7c22
Removed double[] solve(double[]) from SingularValueDecompositionImpl.Solver
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165508 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 06:24:11 +00:00
Sebastien Brisard
7471813924
Removed double[] solve(double[]) from QRDecompositionImpl.Solver
...
Had to implement toArray() in ArrayRealVectorTest to make QRSolverTest pass.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165507 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 06:23:06 +00:00