Gilles Sadowski
90005764b8
MATH-453
...
Removed Javadoc comment referring to non-existent package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042610 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 12:52:36 +00:00
Sebastian Bazley
906090e2ba
Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042510 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:54:18 +00:00
Sebastian Bazley
4071c1f739
Remove unnecessary throws clauses from testxxx methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042509 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:49:59 +00:00
Sebastian Bazley
62cee956cb
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042508 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:45:19 +00:00
Sebastian Bazley
0cbe8f66ac
Missing @Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042507 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:44:33 +00:00
Sebastian Bazley
cb7b95b91d
StringBuffer => StringBuilder for local variables
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 15:54:55 +00:00
Sebastian Bazley
c32fdff0e0
Add missing @Deprecated annotations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042336 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 12:40:48 +00:00
Gilles Sadowski
1b642b1f28
MATH-451
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042324 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 11:56:41 +00:00
Gilles Sadowski
2055773fef
MATH-439
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1041220 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 00:06:21 +00:00
Phil Steitz
4185388b14
Modified NormalDistributionImpl.cumulativeProbability to return 0 or 1,
...
respectively for values more than 40 standard deviations from the mean.
For these values, the actual probability is indistinguishable from 0 or 1
as a double. Top coding improves performance for extreme values and prevents
convergence exceptions.
JIRA: MATH-414
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1040471 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 11:55:22 +00:00
Phil Steitz
7cee480b68
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039982 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 23:52:45 +00:00
Gilles Sadowski
b25abb900b
MATH-430
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039575 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:57:13 +00:00
Gilles Sadowski
4d3a7d2e81
MATH-430
...
Deprecation. Replacement available only in "trunk".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039484 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 17:58:14 +00:00
Phil Steitz
88673e5fef
Updated changelog for JIRA: MATH-420 (should have been included in r1038873).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039139 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 18:49:47 +00:00
Phil Steitz
bf98dae677
Added toString() override to StatistictalSummaryValues. JIRA: MATH-420.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1038873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 23:35:13 +00:00
Luc Maisonobe
3d93dbf5ce
Deprecated the whole ode.jacobians package. It is clumsy and difficult to use. It will
...
be replaced by a completely rewritten implementation in 3.0, which will be more tightly
bound to the top level ode package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1037341 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:58:35 +00:00
Luc Maisonobe
22686ad09c
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/branches/MATH_2_X@1037332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:31:21 +00:00
Luc Maisonobe
f27e3173c3
replaced all uses of the deprecated FunctionEvaluationException, DerivativeException and MatrixVisitorException
...
The exceptions have been temporarily declared as extending MathUserException (which is an unchecked exception) and the methods that formerly throwed them now throw MathUserException.
This changed seems to be a smooth way for users to update their code when they want, as it is binary compatible with the previous code and generate deprecation warnings if user functions do use these exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1037327 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 20:57:37 +00:00
Luc Maisonobe
9ff1c115ae
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/branches/MATH_2_X@1035475 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 22:39:25 +00:00
Luc Maisonobe
2fb069185a
added new constructors to MathUserException to provide more control to user
...
added the general message for MathUserException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035421 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 19:40:38 +00:00
Luc Maisonobe
e5c461784a
reverting change introduced in 1035004:
...
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/branches/MATH_2_X@1035073 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 21:32:57 +00:00
Luc Maisonobe
5288b179f0
allow either specific or generic formats to be null
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035010 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:33:16 +00:00
Luc Maisonobe
85fec9ef02
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/branches/MATH_2_X@1035004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:06:35 +00:00
Luc Maisonobe
7662c49fff
added missing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035001 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 15:04:13 +00:00
Gilles Sadowski
15442cf7da
MATH-440
...
New exception "MathUserException" supersedes "FunctionEvaluationException",
"MatrixVisitorException" and "DerivativeException".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1034457 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 16:36:57 +00:00
Luc Maisonobe
ac7334d69b
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/branches/MATH_2_X@1026666 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 19:30:48 +00:00
Luc Maisonobe
fa55b9f280
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/branches/MATH_2_X@1006299 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 14:47:17 +00:00
Luc Maisonobe
05dbd4e4cf
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/branches/MATH_2_X@1004045 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:52:53 +00:00
Luc Maisonobe
a987c130a5
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1004023 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 18:28:22 +00:00
Luc Maisonobe
3c8ddbb76c
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1004022 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 18:21:52 +00:00
Luc Maisonobe
5d0088c1df
grammar
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003997 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 16:45:55 +00:00
Luc Maisonobe
1b9e8dd09f
allow zero length vectors
...
JIRA: MATH-391
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003993 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 16:39:16 +00:00
Luc Maisonobe
6793b921a0
backported r1003576 from trunk to branch 2.X
...
Constants might as well be static
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003910 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:25:56 +00:00
Luc Maisonobe
a164959d1e
backported r1003567 from trunk to branch 2.X
...
Don't catch Exception and fail(); let JUnit handle it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003907 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:23:34 +00:00
Luc Maisonobe
417848e839
backported r1003566 from trunk to branch 2.X
...
Narrow expected exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003902 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:13:35 +00:00
Luc Maisonobe
332d372bdc
backported r1003549 from trunk to branch 2.X
...
Split multiple tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003901 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:11:04 +00:00
Luc Maisonobe
c87e900a1b
backported r1003547 from trunk to branch 2.X
...
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003900 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:08:39 +00:00
Luc Maisonobe
76ab9055aa
backported :r1003543,1003545,1003569,1003584 from trunk to branch 2.X
...
Add missing fail() calls for expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003899 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:06:55 +00:00
Luc Maisonobe
b857985c79
backported r1003533 from trunk to branch 2.X
...
Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003896 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:53:24 +00:00
Luc Maisonobe
ad59080231
backported r1003526 from trunk to branch 2.X
...
Java 1.5 does not support Arrays.copyOf()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003895 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:50:58 +00:00
Luc Maisonobe
b4681e50ff
backported part of r1003351 from trunk to branch 2.X
...
Add missing @Override marker
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003892 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:28:56 +00:00
Luc Maisonobe
c4f85a60a1
backported r1003350 from trunk to branch 2.X
...
Unnecessary to cast byte into byte
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003890 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:14:22 +00:00
Luc Maisonobe
61c404a0f0
backported r1003349 from trunk to branch 2.X
...
Unnecessary to cast byte into byte
Add missing @Override marker
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003889 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:11:55 +00:00
Luc Maisonobe
c832a0c215
backported r1003348 from trunk to branch 2.X
...
Unnecessary to cast byte into byte
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003888 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:08:52 +00:00
Luc Maisonobe
1d3822bf9c
backported part of r1003346 from trunk to branch 2.X
...
Make immutable private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003886 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 21:04:44 +00:00
Luc Maisonobe
87f2ace0ce
backported part of r999948 from trunk to branch 2.X
...
moved PowellOptimizer to the optimization.direct package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003881 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 20:52:39 +00:00
Phil Steitz
2c9bdc138e
Corrected javadoc link.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1003869 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 19:14:45 +00:00
Luc Maisonobe
8ad7c0a62e
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/branches/MATH_2_X@1002827 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 19:49:34 +00:00
Gilles Sadowski
635bc4b1b3
Added deprecation markers (conflict with immutable distribution instances).
...
Fixed typo in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1002660 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 14:51:54 +00:00
Luc Maisonobe
c59919dabe
fixed a missing change from Math to FastMath
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1002040 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 07:18:31 +00:00