2621 Commits

Author SHA1 Message Date
Gilles Sadowski
b4129de756 Refined test (follow-up of MATH-441).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1037372 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 02:36:14 +00:00
Luc Maisonobe
22d63af83d removed the ode.jacobians package
Jira: MATH-380

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1037343 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 22:02:55 +00:00
Luc Maisonobe
3859aa17cf Added a normalization feature to transform samples so they have zero mean and unit standard deviation
Jira: MATH-426

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1037333 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:31:44 +00:00
Luc Maisonobe
4f05aa7d18 removed FunctionEvaluationException, DerivativeException and MatrixVisitorException
these exception were  deprecated in 2.2 and a smooth transition path was set up to help users, now all user functions should use the new unchecked MathUserException

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1037328 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:01:50 +00:00
Luc Maisonobe
f2d9bc8f93 added back some features from old exception scheme (accessors for patterns and arguments) to the new scheme
this should ease transition for existing user code

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035476 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 22:39:56 +00:00
Luc Maisonobe
e5413fd483 added new constructors to MathUserException to provide more control to user
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035419 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 19:39:53 +00:00
Gilles Sadowski
0d52bf6394 MATH-441
Implemented proposed solution (rethrow last exception if no optimum were found).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035245 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 12:22:47 +00:00
Luc Maisonobe
65e95d0224 reverting change introduced in 1035003:
it was the javadoc that did not correspond to the intended behavior, not the code

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035072 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 21:32:08 +00:00
Luc Maisonobe
318d66e1b1 allow either specific or generic formats to be null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035009 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:32:48 +00:00
Luc Maisonobe
183ad3388d fixed message building so the behavior matches the existing javadoc:
general arguments are the ones remaining after the specific ones have been handled

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035003 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:06:11 +00:00
Luc Maisonobe
07cd6619e0 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1035002 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:04:51 +00:00
Gilles Sadowski
3f353cbde4 MATH-441
Removed occurences of "FunctionEvaluationException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034996 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 13:41:13 +00:00
Gilles Sadowski
77c4e2f0c6 MATH-440
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034995 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 13:33:16 +00:00
Gilles Sadowski
6a50b4cebc MATH-438
Removed deprecated methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034896 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 22:27:34 +00:00
Gilles Sadowski
09e1c64fe9 MATH-441
Removed uses of "FunctionEvaluationException" and "MathRuntimeException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034870 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 20:58:20 +00:00
Gilles Sadowski
92569b0441 Removed workaround that ceased to be necessary.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034867 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 20:34:21 +00:00
Gilles Sadowski
d60ad04b6d MATH-440
"MathUserException": Using "Localizable" argument in constructor.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034601 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 23:41:02 +00:00
Gilles Sadowski
7c9c3017bb MATH-438
Removed deprecated methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034573 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:22:34 +00:00
Gilles Sadowski
b749a02ee1 MATH-438
Removed deprecated method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034566 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:10:28 +00:00
Gilles Sadowski
a605274077 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034564 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:03:38 +00:00
Gilles Sadowski
f3d957dfbe MATH-425
Removed deprecated "MatrixVisitorException". Modified affected files.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034494 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 17:53:50 +00:00
Gilles Sadowski
3317eb676c MATH-440
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034487 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 17:36:10 +00:00
Gilles Sadowski
aa903d1819 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034451 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 16:31:21 +00:00
Gilles Sadowski
9c039e1789 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034401 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 13:57:53 +00:00
Gilles Sadowski
c9a24d392f MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034394 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 13:23:59 +00:00
Gilles Sadowski
2ccb208565 "Un-deprecated" method: No equivalent (the suggested replacement is for
bracketing an optimum).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034365 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:15:32 +00:00
Gilles Sadowski
55243469e0 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034222 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 00:20:21 +00:00
Gilles Sadowski
374abec6b1 MATH-438
Removed deprecated class "InvalidMatrixException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034220 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 00:13:27 +00:00
Gilles Sadowski
9c804e92f7 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034210 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 23:40:52 +00:00
Gilles Sadowski
05810bf619 MATH-438
Removed deprecated class. Updated affected files to use the new
"NonPositiveDefiniteMatrixException" defined in package "exception".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034209 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 23:36:32 +00:00
Gilles Sadowski
04d6264e22 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034199 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 23:22:54 +00:00
Gilles Sadowski
192b6865a6 MATH-438
Removed deprecated class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034197 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 23:19:10 +00:00
Gilles Sadowski
d7d6492c1d MATH-438
Removed deprecated class "MatrixIndexException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034193 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 23:13:01 +00:00
Gilles Sadowski
a151bff2f5 MATH-438
Removed deprecated methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1034190 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 22:52:39 +00:00
Gilles Sadowski
07f1663320 MATH-425
Removed usage of exceptions defined in the package "linear". Added
replacements in package "exception". Modified tests to catch the
new exception type. Deleted the deprecated package "estimation" (test
failed because of the changes).
Deprecated "MaxIterationsExceededException".
Changes in package "optimization.general" were necessary to comply with
the new exceptions and to be consistent in reporting the actual cause
of failure.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1033486 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 14:23:36 +00:00
Gilles Sadowski
06ec87572a MATH-195
Corrected typos.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032554 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 12:01:26 +00:00
Gilles Sadowski
d64b9588fc MATH-195
Added requested Javadoc comment.
Removed unused import.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032424 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 23:49:42 +00:00
Gilles Sadowski
61499e8725 MATH-432
Added a test.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032182 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 23:40:43 +00:00
Sebastian Bazley
36b8beb614 Don't make unnecessary assumptions of Object to be compared
Missing @Override

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032018 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 12:08:23 +00:00
Sebastian Bazley
5b243bb64d Javadoc; annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032017 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 12:06:38 +00:00
Gilles Sadowski
cf7000a85c MATH-432
Made "Pair" immutable.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1032010 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 11:38:08 +00:00
Gilles Sadowski
cfce6350fe Replaced "AbstractMap.SimpleEntry" with "Pair" to be Java 5 compliant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1031581 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 14:27:38 +00:00
Gilles Sadowski
5b5e256d97 MATH-432
New class "Pair" as a replacement for the standard class
"AbstractMap.SimpleEntry" (available in Java 1.6).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1031574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 14:13:41 +00:00
Gilles Sadowski
a6a96b559d Added a constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030947 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 13:25:30 +00:00
Gilles Sadowski
56a423c496 MATH-428
Added a constructor.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030918 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 12:57:33 +00:00
Gilles Sadowski
b27299f9ed MATH-428
Added a constructor.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030885 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 11:21:19 +00:00
Sebastian Bazley
1e2b8b7d75 Add missing @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030796 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 01:41:33 +00:00
Sebastian Bazley
67745c4526 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030795 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 01:39:59 +00:00
Gilles Sadowski
634e51b50e MATH-195
Created an unchecked "FunctionEvaluationException" in package "exception".
Removed "throws" clause from interface "UnivariateRealFunction".
"PolynomialFunctionLagrangeForm": Added early check on the interpolating
array having distinct points; removed redundant test in methods "evaluate"
and "computeCoefficients".
"DividedDifferenceInerpolator": Removed redundant check.
"Mathutils": Added method "sortInPlace". Removed (most) references to the
deprecated "MathRuntimeException" class.
"optimization.direct": Removed deprecated classes.
Javadoc clean up.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1030464 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 13:46:04 +00:00
Gilles Sadowski
826fc64e96 MATH-425
Deleted deprecated classes in package "linear".
Removed redundant methods in "Array2DRowRealMatrix".
Removed usage of "MatrixIndexException" (class is now deprecated).
Javadoc clean up.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1027952 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 13:16:57 +00:00