Sebastian Bazley
e39a389555
Ensure Ant build behaves the same as Maven for component resources
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165147 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 02:09:14 +00:00
Luc Maisonobe
d696293435
moved the binding of the underlying exception from ExceptionContextProvider to ExceptionContext, as diccussed on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:38:40 +00:00
Luc Maisonobe
f4abfdc106
removed MathUserException from StepHandler interface
...
JIRA: MATH-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165033 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:36:48 +00:00
Sebastian Bazley
5c04a9d456
Fix up resource section to standard setting
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164998 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 11:55:49 +00:00
Sebastian Bazley
e79fcea6cf
Report missing resource rather than failing with NPE if not fount
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164986 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 10:29:03 +00:00
Phil Steitz
7dabaab113
Completed reversion of r1164756 changes (for now).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164923 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 20:06:24 +00:00
Gilles Sadowski
97b440fc8e
MATH-657
...
Reverting to previous behaviour, as requested by P. Steitz.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164917 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 19:22:42 +00:00
Gilles Sadowski
32b0f7336b
MATH-657
...
Complex division by zero:
z / 0 = INF if z is not ZERO
0 / 0 = NaN
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164756 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 23:05:01 +00:00
Sebastien Brisard
6a895ec220
Simplification of the conversion from RealVector to double[].
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164662 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 18:20:37 +00:00
Sebastien Brisard
de75806149
In all unit-tests of DecompositionSolver implementations: removed calls to DecompositionSolver.solve(double[]) (MATH-653)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:46:20 +00:00
Sebastien Brisard
118387e272
Units tests of RealMatrix implementations: replaced reference to DecompositionSolver.solve(double[]) by DecompositionSolver.solve(RealVector) (see MATH-653)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164618 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:40:18 +00:00
Sebastien Brisard
c76d918c77
Replaced reference to DecompositionSolver.solve(double[]) by DecompositionSolver.solve(RealVector) (see MATH-653)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164615 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:34:41 +00:00
Luc Maisonobe
c9943deeb9
Use the refactored exceptions framework for ODE.
...
The IntegratorException and EvenException classes have been removed. The
uses of the checked ConvergenceException have been replaced by the
unchecked one from the exception package. Sanity checks now use
the nes DimensionMismatchException. Step size underflows now trigger
NumberIsTooSmallException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164573 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:11:31 +00:00
Luc Maisonobe
8b24302b3d
Added a getter to allow retrieving the exception related to an
...
exception context provider.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:07:16 +00:00
Gilles Sadowski
c0b4954297
MATH-631
...
Early detection of "Regula Falsi" algorithm being stuck due to finite
precision.
Javadoc makes it clear that either the Pegasus or the Illinois solver should
be preferred over the Regula Falsi one (due to D. Hendriks).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164474 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 11:09:59 +00:00
Gilles Sadowski
f78206e065
MATH-413
...
Optional, user-defined, convergence checker passed in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164303 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:07:16 +00:00
Gilles Sadowski
681943d4f2
MATH-413
...
Convergence checker passed in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164300 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 23:37:36 +00:00
Gilles Sadowski
1ef23c7fb5
MATH-413
...
Removed setters; convergence checker, line search solver and preconditioner
set in contructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 12:30:50 +00:00
Gilles Sadowski
39cf1b2db0
Javadoc: indicated the assumed layout of the Jacobian matrix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1164022 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 11:35:49 +00:00
Phil Steitz
79b2462cb8
Improved javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163915 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:17:33 +00:00
Phil Steitz
5786c5c944
Added erf(double,double) to Erf and used this to improve tail probability accuracy in NormalDistributionImpl. JIRA: MATH-364. Reported and patched by Christian Winter.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163888 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 01:24:37 +00:00
Phil Steitz
32da645aa8
Added MATH-634 and some more info on MATH-653.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163875 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 00:07:48 +00:00
Phil Steitz
b6ee25c1e1
Enabled reseeding of the random generators used by EmpiricalDistributionImpl
...
and ValueServer. Modified ValueServer to pass its RandomData instance to
the EmpiricalDistributionImpl that it creates when used in DIGEST_MODE, so
reseeding ValueServer works as expected. Changed EmpiricalDistributionImpl
constructor to take a RandomDataImpl instead of just RandomData (so the
instance member could be reseeded.)
JIRA: MATH-654
Reported by David James
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163872 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 23:49:50 +00:00
Sebastien Brisard
12e8303868
Improvements of the javadoc of RealLinearOperator.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163587 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 11:55:13 +00:00
Sebastien Brisard
918377f189
Removed occurences of double[] from RealLinearOperator (see MATH-653)
...
method double[] operate(double[]) has been left in AbstractRealMatrix, according to exchanges on this JIRA ticket.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163515 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:41:25 +00:00
Greg Sterijevski
5c741c800a
Adding more tests (from NIST website) to StudentT tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1163507 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 06:57:20 +00:00
Phil Steitz
c15ac0cf84
Javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162889 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 16:18:38 +00:00
Gilles Sadowski
37b22700d9
MATH-653
...
Removed methods taking a "double[]" argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162800 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 13:49:22 +00:00
Gilles Sadowski
8dc262f9d7
Inadvertently committed a file. Reverting to previous version.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162634 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 02:15:40 +00:00
Gilles Sadowski
fd9fed2694
MATH-653
...
"RealVector": Removed methods taking a "double[]" argument whenever another
exists that takes a "RealVector" argument.
Modified subclasses and unit tests accordingly.
Fixed a bug in method "subtract(RealVector)" (in class "RealVector").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162629 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 01:44:24 +00:00
Gilles Sadowski
3ca62564e3
Javadoc formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162605 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 22:40:29 +00:00
Phil Steitz
9a8435f9d0
Javadoc improvements. Made it more explicit which methods modify instance data; formatting; better wording in some comments. JIRA: MATH-653.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162543 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 15:49:39 +00:00
Gilles Sadowski
5803f32719
"@Override" not allowed there in Java 5.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162522 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 13:43:25 +00:00
Gilles Sadowski
760078b411
MATH-653
...
Renamed "AbstracRealVector" to "RealVector" (getting rid of the "interface").
Changed "SparseRealVector" from "interface" to "abstract" class.
Modified subclasses ("extends" instead of "implements") and unit test name
("RealVectorTest" instead of "AbstractRealVectorTest") accordingly.
Slightly modified "UnmodifiableRealVectorAbstractTest" to exclude methods
that are now inherited from "Object".
Changed unmodifiable vector view from a static inner class to an anonymous
class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162511 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 12:58:57 +00:00
Greg Sterijevski
c2570afd5f
Moving myself(gregs) from contributor to developer, aka first push! Changed the pom.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1162407 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 17:52:24 +00:00
Gilles Sadowski
6ff4630b25
MATH-413
...
New constructor.
Javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1161463 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 09:28:13 +00:00
Luc Maisonobe
f9ea0c63a0
Refactored integration API for consistency with solvers API.
...
Now the main convergence parameters are set in the constructor and remain fixed.
JIRA: MATH-501
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1161181 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 16:03:16 +00:00
Gilles Sadowski
9161afbbbc
MATH-646
...
Unmodifiable view of a vector.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1161064 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 12:15:51 +00:00
Luc Maisonobe
c5f349b12a
Changed integration API for consistency with solvers API. Now the main convergence
...
parameters are set in the constructor and remain fixed, but a maximal number of function
evaluation must be provided at each call to the integration method.
JIRA: MATH-464
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1160914 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 22:35:06 +00:00
Phil Steitz
69138ab18d
Replaced deprecated exception; fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1160068 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 21:18:34 +00:00
Phil Steitz
817f068f43
Update missed in r1160026. JIRA: MATH-449.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1160049 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 20:11:57 +00:00
Phil Steitz
22e68e3efe
Added storeless covariance implementation contributed by Patrick Meyer. JIRA: MATH-449.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1160026 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 18:14:19 +00:00
Phil Steitz
78c368544d
Eliminated extraneous constructor and private field from SimpleRegression. JIRA: MATH-648.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159918 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 21:45:53 +00:00
Phil Steitz
7ec9cd0d12
Eliminated pluggability of ChiSquaredDistribution used by ChiSquaredDistributionTest. JIRA: MATH-506.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159916 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 21:08:34 +00:00
Gilles Sadowski
1f0c4c9451
MATH-621
...
Function "prelim": Local variables defined at initialization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159792 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 21:35:19 +00:00
Gilles Sadowski
591e3d166e
MATH-621
...
Unexplored code path.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159438 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 22:53:48 +00:00
Luc Maisonobe
d7121b1c0b
Added a 3D SubLine class.
...
JIRA: MATH-593
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159353 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 18:50:08 +00:00
Gilles Sadowski
290621a860
MATH-413
...
Passing convergence checker in constructor.
Added default constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 14:10:28 +00:00
Gilles Sadowski
6c9487d625
Removed "try" blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159214 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 13:38:29 +00:00
Gilles Sadowski
1a7b144bff
MATH-621
...
Removed unused variables and unused imports (due to Dietmar Wolz).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1159203 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 13:03:42 +00:00