Commit Graph

3284 Commits

Author SHA1 Message Date
Luc Maisonobe 036ba4efec Replaced checked ConvergenceException with an unchecked version.
JIRA: MATH-487

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1177986 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:16:50 +00:00
Luc Maisonobe cbb10701a7 Added notification of MATH-381 solve.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1177985 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:16:06 +00:00
Sebastien Brisard ef6e900827 Added missing SVN properties to some *.java files in package o.a.c.m.linear
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1177938 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:57:19 +00:00
Greg Sterijevski ba15d2764e JIRA:MATH-678 Adding this testfile as a record, most tests are commented out
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1177884 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 02:01:03 +00:00
Gilles Sadowski 4471616be7 Additional test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1176809 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 10:10:20 +00:00
Luc Maisonobe 5313f6aaae updated serialization metadata as we now serialize secondary equations too
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1176745 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 06:18:40 +00:00
Luc Maisonobe b5724e1cc0 added support for secondary state in ODE step interpolators
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1176734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:56:42 +00:00
Sebastien Brisard 924769fb05 Completed a test which did not exhaust all possibilities. Also cosmetic changes (param naming).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175683 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 06:04:33 +00:00
Gilles Sadowski a0c36a7c8c MATH-674
Moved part of the Javadoc for the "value" method over to the interface
section.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175588 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 21:44:13 +00:00
Luc Maisonobe 4247a40093 Added forgotten result dispatch in Gragg-Bulirsch-Stoer integrator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175410 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 15:05:53 +00:00
Luc Maisonobe b7c5cd5ff7 revamped Jacobians computation in ODE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175409 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 15:04:39 +00:00
Sebastien Brisard 39eea3de3f Added support for iterative linear solvers (Conjugate Gradient only for now). See MATH-581.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175404 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 14:48:18 +00:00
Luc Maisonobe c60827b0b7 Changed return type for eventOccurred from int to an enumerate in ODE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175379 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:39:09 +00:00
Sebastien Brisard 39d86e32e2 Merged SingularValueDecomposition and SingularValueDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175108 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 05:13:53 +00:00
Sebastien Brisard b4764661a3 Merged RectangularCholeskyDecomposition and RectangularCholeskyDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175105 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 04:54:28 +00:00
Sebastien Brisard 18323639c9 Merged QRDecomposition and QRDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175100 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 04:47:38 +00:00
Sebastien Brisard f5c9e29ea7 Merged LUDecomposition and LUDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175099 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 04:28:36 +00:00
Sebastien Brisard 75a473e42e Minor change to the Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 04:01:05 +00:00
Greg Sterijevski b17e283c77 JIRA: MATH-607 small bug in vmove method, the 'break;' directive causes the loop to skip the code block beginning if(!bSkip40...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175094 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 02:17:58 +00:00
Gilles Sadowski 20a365978f Name change: "NonMonotonousSequenceException" to "NonMonotonicSequenceException".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174731 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:08:58 +00:00
Sebastien Brisard 4709a37a4f Merged FieldLUDecomposition and FieldLUDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174537 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:32:59 +00:00
Greg Sterijevski 81821bc466 JIRA: MATH-607 Adding support for UpdatingMultipleLinearRegression to SimpleRegression
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174509 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 03:36:11 +00:00
Gilles Sadowski 0ba7ddcd9e Use "MathInternalError" in an impossible "default" case of a "switch".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174154 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 14:16:38 +00:00
Gilles Sadowski 70c0b99284 Using labeled loop to avoid code duplication.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174153 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 14:13:09 +00:00
Gilles Sadowski 7222fd432e Minor fixes (Javadoc formatting).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174092 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 12:35:47 +00:00
Gilles Sadowski 257d7c7c85 Added "final".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174032 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 09:55:02 +00:00
Gilles Sadowski 898709086b Spurious space character.
Unnecessary cast.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174009 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 09:18:14 +00:00
Greg Sterijevski cc40bb40a9 JIRA: MATH-675 Added isMonotone methods to MathUtils and cleaned up checkOrder.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173974 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 07:34:05 +00:00
Sebastien Brisard 041df9cd9b Merged EigenDecomposition and EigenDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173965 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 06:43:55 +00:00
Sebastien Brisard 166c691938 Replaced EigenDecomposition by EigenDecompositionImpl (preliminary cleaning for solving MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173964 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 06:37:41 +00:00
Sebastien Brisard 265a435568 Updated @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173788 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 18:45:42 +00:00
Gilles Sadowski 0e9a5f40f4 MATH-650
Suggesting to use "resource" files for storing large tables.
"FastMathResource" is a utility for creating and loading those resources.
"FastMathLoadCheck" modified to allow the benchmarking of the various ways
to create the tables needed in "FastMath".
"FastMathResourcesSave" shows how to create the resource files (not a "user"
functionality, as this should be done only once): The resource files have
been created and are located under "src/main/resources/data".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173690 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 14:53:31 +00:00
Sebastien Brisard 60e328c213 Merged CholeskyDecomposition and CholeskyDecompositionImpl (see MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173481 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 03:45:37 +00:00
Sebastien Brisard 3c316a16d8 Replaced CholeskyDecomposition by CholeskyDecompositionImpl (preliminary cleaning for solving MATH-662).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173475 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 03:12:45 +00:00
Phil Steitz 1019cefed6 Added test for consistency of cumulativeProbability(double,double) and cumulativeProbability(double). Contributed by Christian Winter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1173313 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 19:20:59 +00:00
Sebastien Brisard 112b496420 Added unit testing of FieldLUDecompositionImpl.Solver. This test is largely based on LUSolverTest, using Fraction instead of double. It resolves issue MATH-673.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172988 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 06:11:39 +00:00
Sebastien Brisard 8162c7428b Suppressed lines which were only commented out.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172510 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 08:31:01 +00:00
Sebastien Brisard 0b279a4e3a Removed FieldDecompositionSolver<T>.solve(T[]). This is in accordance with JIRA MATH-661.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172473 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 06:19:36 +00:00
Sebastien Brisard efcbcd5cc6 Replaced call to FieldDecompositionSolver<T>.solve(T[]) by FieldDecompositionSolver<T>.solve(FieldVector<T>). This is in accordance with JIRA MATH-661.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 06:18:40 +00:00
Sebastien Brisard d5341ec56c Replaced call to FieldDecompositionSolver<T>.solve(T[]) by FieldDecompositionSolver<T>.solve(FieldVector<T>). The code works, but might be improved (replace T[] with FieldVector<T> all over?).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172470 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 06:15:53 +00:00
Sebastian Bazley badb5a45b2 Track name change in r1172224
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172237 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 09:49:31 +00:00
Luc Maisonobe eb09e4d118 Renamed the USE_PRECOMPUTED_TABLES constant into
RECOMPUTE_TABLES_AT_RUNTIME.

The previous name was in fact the exact opposite of what was really
done.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172224 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 08:52:03 +00:00
Sebastien Brisard 237c80ba7b Removed methods treating T[] as FieldVector. Modified SparseFieldVectorTest to allow for testing of operations on mixed types (Sparse/non-sparse).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1172044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 18:42:03 +00:00
Sebastien Brisard ff7b63131c Minor changes to comply with Checkstyle requirements.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1171117 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 14:46:34 +00:00
Sebastien Brisard 33d4b224a6 Removed references to checked exception ConvergenceException in package o.a.c.m.analysis.integration. See JIRA MATH-669.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1171111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 14:27:41 +00:00
Gilles Sadowski c1b1b191e0 Correct factor for reporting total time.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1171067 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 12:09:58 +00:00
Gilles Sadowski 88c71bb962 Enhanced formatting of the results printed to stdout.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1170697 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 15:56:08 +00:00
Sebastien Brisard 724130fb7f svn:eol-style set to 'native'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1170462 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 07:44:00 +00:00
Sebastien Brisard 4298745b4a Genereal classes for managing iterations and handling events in iterative algorithms.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1170461 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 07:40:48 +00:00
Gilles Sadowski a4b4eabe97 Javadoc.
Better name for display.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1169860 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 18:34:20 +00:00