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
Sebastian Bazley
ab3b8618d6
Remove unread variable
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003536 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 13:42:39 +00:00
Sebastian Bazley
4ed729fc59
Need to call fail() if we don't generate an Exception
...
Remove unread variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003534 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 13:42:15 +00:00
Sebastian Bazley
9dd76438e2
Unnecessary cast
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003533 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 13:35:49 +00:00
Sebastian Bazley
33c7928ebd
Java 1.5 does not support Arrays.copyOf()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003526 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 13:09:25 +00:00
Gilles Sadowski
9714ffac6d
MATH-422
...
Made "MicrosphereInterpolator" immutable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003521 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:56:07 +00:00
Gilles Sadowski
de001e7bcf
Removed deprecated code in implementations of "IntegerDistribution".
...
Added "final" keyword.
Added "sample" methods to "IntegerDistribution" and "ContinuousDistribution"
interfaces.
Cleaned up Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003512 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:46:16 +00:00
Sebastian Bazley
5321415bc5
Unthrown Exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003355 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 02:03:04 +00:00
Sebastian Bazley
2d1d3187ec
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003354 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:57:57 +00:00
Sebastian Bazley
948d7b2b3a
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003353 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:56:41 +00:00
Sebastian Bazley
84e3a4787c
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003352 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:55:28 +00:00
Sebastian Bazley
5fb05a5e37
Add missing @Override marker
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003351 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:50:12 +00:00
Sebastian Bazley
93cbe58156
Unnecessary to cast byte into byte
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003350 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:46:13 +00:00
Sebastian Bazley
60c7078ca3
Unnecessary to cast byte into byte
...
Add missing @Override marker
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003349 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:40:02 +00:00
Sebastian Bazley
955b3692b7
Unnecessary to cast byte into byte
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003348 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:38:09 +00:00
Sebastian Bazley
6af2ae6adc
Make immutable private fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003346 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 01:27:16 +00:00
Gilles Sadowski
c6d53a5258
ade all distribution classes immutable (as per the conclusion of MATH-349).
...
Modified two classes in the "stat" package where some code conflicted with
ditribution immutability.
Replaced instances of "IllegalArgumentException" with an appropriate stateful
exception.
Cleaned up Javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003048 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 12:55:02 +00:00
Luc Maisonobe
3bf8140d65
removed @Override annotations which are not Java 5 compliant
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003027 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 12:07:46 +00:00
Luc Maisonobe
df74650ec2
Prevent ODE integration to be stuck at initial point when it is restarted after
...
an event has stopped the previous integration
JIRA: MATH-421
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1002829 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 19:50:24 +00:00
Gilles Sadowski
4b9b7585dc
Removed deprecated code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1002145 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 12:38:09 +00:00
Luc Maisonobe
172a818945
fixed a missing change from Math to FastMath
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1002042 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 07:19:43 +00:00
Gilles Sadowski
f210f2fbce
Removed deprecated code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001736 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 13:43:59 +00:00
Gilles Sadowski
a10ae161bf
Removed deprecated code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001700 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 12:18:22 +00:00
Gilles Sadowski
dcbe5c7caf
Removed deprecated code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001681 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 11:53:13 +00:00