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
Gilles Sadowski
bde7476da5
MATH-349
...
Removed deprecated code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001533 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 21:53:56 +00:00
Gilles Sadowski
4cc9a49db1
MATH-349
...
Removed deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001331 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 23:06:34 +00:00
Phil Steitz
0b7b9257fb
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001229 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 14:57:54 +00:00
Gilles Sadowski
2c508b8458
Introduced "MatrixDimensionMismatchException" to replace "InvalidMatrixException"
...
whenever it was used to signal a row or column dimension mismatch.
"MessageFactory": Fixed wrong order of appearance of general and specific messages.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001107 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 23:12:34 +00:00
Gilles Sadowski
e3fcb4a19c
Removed unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1001104 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 23:04:21 +00:00
Gilles Sadowski
51aa6e6ca2
MATH-413 (point 13)
...
Selecting a random start value (instead of interval bounds).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1000422 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 12:11:56 +00:00
Gilles Sadowski
8232bfbded
MATH-413
...
Moving classes to a more appropriate package.
Removed unused interfaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@999948 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 13:54:25 +00:00
Gilles Sadowski
b625ebe85b
Fixed Javadoc warning.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@999939 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 13:41:07 +00:00
Luc Maisonobe
62dc5114ec
improved documentation (javadoc, code comments about optimization and userguide)
...
JIRA: MATH-419
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@999577 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:50:43 +00:00
Luc Maisonobe
669cdc6719
improved Well pseudo random numbers generators performances by inlining transforms and using indirection arrays to avoid index computation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@999135 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 22:06:07 +00:00
Phil Steitz
eb504310ee
Fixed errors in multiple regression section. JIRA: MATH-407.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@998761 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 01:57:03 +00:00
Luc Maisonobe
dbb5bb4968
Added François Panneton and Pierre L'Ecuyer WELL random generators:
...
WELL512a, WELL1024a, WELL19937a, WELL19937c, WELL44497a and WELL44497b
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@998744 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 22:34:26 +00:00
Dimitri Pourbaix
4eccb93251
MATH-416 fixed
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@997724 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 12:39:34 +00:00
Phil Steitz
aba7e04d44
Made intercept/noIntercept configurable in multiple regression classes. JIRA: MATH-409.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@996404 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 02:01:42 +00:00
Luc Maisonobe
820915c236
use the new Brent solver constructor instead of setting accuracy and max iteration afterwards
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@996195 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 19:06:11 +00:00
Luc Maisonobe
1e7592fd59
Fixed lost cause in MathRuntimeException.createInternalError
...
JIRA: MATH-415
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@996179 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 17:19:54 +00:00
Luc Maisonobe
df60792d6f
added fast cubic root computation
...
JIRA: MATH-375
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@996172 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 16:57:30 +00:00
Luc Maisonobe
0f5d514dd7
added tests for asin and acos
...
JIRA: MATH-375
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@996167 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 16:42:48 +00:00
Luc Maisonobe
742f3cd33e
fixed visibility of an internal constructor that should remain private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@995990 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 21:31:19 +00:00