Commit Graph

2699 Commits

Author SHA1 Message Date
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
Gilles Sadowski 0d6a91f698 MATH-428
Refactoring of "DirectSearchOptimizer" to separate the optimization and
simplex management aspects. Old classes are deprecated.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1027007 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 09:42:33 +00:00
Luc Maisonobe 53ccce4ac1 Fixed k-means++ to add several strategies to deal with empty clusters that may appear during iterations
JIRA: MATH-429

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1026667 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 19:31:19 +00:00
Luc Maisonobe 1b238344cd Improved Percentile performance by using a selection algorithm instead of a
complete sort, and by allowing caching data array and pivots when several
different percentiles are desired
JIRA: MATH-417

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1006301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 14:50:56 +00:00
Niall Pemberton 4614f35efc COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Gilles Sadowski 1b27e0019e MATH-425
Replaced "MatrixIndexException" with "OutOfRangeException" or
"DimensionMismatchException".
Removed try/catch blocks misused as preconditions check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1005028 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 13:30:03 +00:00
Gilles Sadowski 97c084f940 Checkstyle errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1005023 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 13:21:52 +00:00
Luc Maisonobe 1365c192b9 applied Bill's patch adding sinh, cosh and tanh functions to FastMath
JIRA: MATH-375

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1004044 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:51:14 +00:00
Luc Maisonobe dfc41e87fa removed unneeded import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1004021 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 18:21:28 +00:00
Luc Maisonobe 9e132e73c6 grammar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003995 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 16:45:14 +00:00
Luc Maisonobe 1ec00befad allow zero length vectors
JIRA: MATH-391

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003994 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 16:39:43 +00:00
Phil Steitz ef74a8366b Corrected javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003869 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 19:14:45 +00:00
Gilles Sadowski b176f5f469 MATH-424
Safe handling of internal data.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003606 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 18:10:46 +00:00
Sebastian Bazley daa37ac393 This test cannot be fixed at present
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003584 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 16:56:22 +00:00
Sebastian Bazley 496e4e2a4a Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003580 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 16:44:55 +00:00
Sebastian Bazley 0b1d8afb21 Constants might as well be static
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003576 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 16:39:47 +00:00
Sebastian Bazley 08c4e822e5 Fix test failure
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003569 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 15:59:54 +00:00
Sebastian Bazley bba2526326 Don't catch Exception and fail(); let JUnit handle it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003567 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 15:48:39 +00:00
Sebastian Bazley 9ceae1f8f1 Narrow expected exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003566 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 15:41:18 +00:00
Sebastian Bazley 5ca553511d Split multiple tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003549 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 14:54:37 +00:00
Sebastian Bazley 82cbcdc3a0 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003547 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 14:35:52 +00:00
Sebastian Bazley cb1c8dc986 Oops, should not have added fail here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 14:28:12 +00:00
Sebastian Bazley 5e5ba778cb Add missing fail() calls for expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003543 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 14:08:28 +00:00