Commit Graph

3760 Commits

Author SHA1 Message Date
Sebastian Bazley faca098140 Update to CP24
Restore changes/JIRA reports accidentally dropped when tidying pom

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306268 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 11:45:25 +00:00
Gilles Sadowski f0e1231764 New "<release>" XML tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306242 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 10:21:22 +00:00
Sebastien Brisard 923800c071 Created Decimal64, a wrapper class around the primitive double type.
This class implements FieldElement<Decimal64>.
See MATH-756.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306177 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 05:40:46 +00:00
Sebastien Brisard 731daf82cf Changed o.a.c.m3.linear.SymmLQ according to MATH-771 (bis).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 04:18:44 +00:00
Sebastien Brisard c23d010ce1 Changed o.a.c.m3.linear.JacobiPreconditioner according to MATH-771.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306148 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 04:05:59 +00:00
Sebastien Brisard 610c5e8b1a Changed o.a.c.m3.linear.SymmLQ according to MATH-771.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306135 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 03:19:33 +00:00
Sebastien Brisard 0bff3901f4 Changed o.a.c.m3.linear.ConjugateGradient according to MATH-771.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306133 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 03:00:33 +00:00
Sebastien Brisard 380892dbd0 Changed o.a.c.m3.linear.PreconditionedIterativeLinearSolver according to MATH-771.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1305738 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 06:02:15 +00:00
Sebastien Brisard c4d2c86170 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1305734 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 05:41:58 +00:00
Sebastien Brisard 5762e65833 In o.a.c.m3.SymmLQ.State
- the current solution is now refined at each iteration, as the overhead is negligible
  - SymmLQ.State.xL is no longer a reference to the parameter x passed to its constructor. This way, all transparent updates of the vector x are removed.
  - SymmLQ.State.moveToCG(RealVector) is renamed SymmLQ.State.refineSolution(RealVector).
In o.a.c.m3.SymmLQ.solveInPlace()
  - SymmLQ.State.init() is now called explicitly
  - a new DefaultIterativeLinearSolverEvent is created each time it is needed (no "clever" object reuse)
  - SymmLQ.State.refineSolution(RealVector) is called explicitly
See MATH-761.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1304574 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:51:12 +00:00
Sebastien Brisard 20fa2579ec In SymmLQTest, testPreconditionedNormOfResidual() now passes.
Previous failure was due to the test itself, not to the implementation of SymmLQ.
See MATH-770.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1304216 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 07:50:51 +00:00
Sebastien Brisard 97826e4177 Corrected copy/paste typo, which caused ConjugateGradient to be tested in place of SymmLQ. Some tests now fail (see MATH-770).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1304215 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 07:25:44 +00:00
Sebastien Brisard 3160b5c5cc In o.a.c.m3.SymmLQ.State, created accessors
- RealVector getRightHandSideVector(),
  - RealVector getSolution(),
  - double getNormOfResidual(),
see MATH-761.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1303674 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 07:15:24 +00:00
Sebastien Brisard 6f72f0544f Replaced Math with FastMath.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1303649 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 03:51:05 +00:00
Sebastien Brisard b53fa38639 Modified unit test of o.a.c.m3.linear.SymmLQ to show that lines 1208-1209 are essential (see MATH-761).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1303292 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 05:49:14 +00:00
Sebastien Brisard 96d79054dc In org.apache.commons.math3.linear.SymmLQ.State, created
- boolean bEqualsNullVector()
  - boolean betaIsZero()
to improve data encapsulation (see MATH-761).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1303290 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 05:26:45 +00:00
Sebastien Brisard 2216176034 In o.a.c.m3.linear.SymmLQ.State, implemented hasConverged() so as to avoid
access to private field State.hasConverged through synthetic getters.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302788 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 07:04:05 +00:00
Sebastien Brisard 439fdb9d9d In o.a.c.m3.SymmLQ: reduced visibility of some fields/methods (from protected
to package protected). See MATH-761.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302785 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 06:37:26 +00:00
Sebastian Bazley d90d2aa935 Incorrect property format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302387 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 12:00:54 +00:00
Sebastian Bazley c5026ce4af Incorrect property format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302386 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 11:59:25 +00:00
Sebastien Brisard 8b4597937e In class o.a.c.math3.linear.SymmLQ
- Changed parameter order for the constructor of nested class State (for consistency with the constructor of SymmLQ).
  - Moved some static helper methods from SymmLQ to nested class State
  - Changed visibility of some static fields from private to protected in order to avoid the use of synthetic getters.
See MATH-761.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 06:46:32 +00:00
Sebastian Bazley 3c93e75f7d Make State class static (see MATH-761).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1302261 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 03:01:57 +00:00
Thomas Neidhart 1b3a557544 Fixed wrong links in user guide index.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1301198 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 21:03:01 +00:00
Sebastian Bazley d7bb55465c Drop obsolete Javadoc links
Re-order links to put background developer info lower down the list

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1299940 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 01:05:55 +00:00
Sebastian Bazley 21ff4d548e Add back 2.2 to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1299724 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:03:12 +00:00
Sebastian Bazley 15f0cc682c 3.0 has been released, bump snapshot version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1299716 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 15:40:53 +00:00
Sebastian Bazley 0b14107b56 Fix up download properties and generated page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1299715 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 15:40:22 +00:00
Sebastian Bazley 1a3881f3f5 minSeverity is now defined in commons parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1299711 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 15:31:46 +00:00
Gary D. Gregory 3db1f94649 Add missing Apache license headers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296918 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 01:02:44 +00:00
Gilles Sadowski 833cbf756b Preparing for release 3.0.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296850 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 18:37:26 +00:00
Gilles Sadowski ab55ca0799 Fixed CheckStyle warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296849 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 18:30:44 +00:00
Gilles Sadowski bdde40a7fd Removed unused file (template is now in "src/changes/release-notes.vm").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296846 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 17:59:33 +00:00
Luc Maisonobe 60174ccbcd fixed missing Apache header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296822 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 15:26:42 +00:00
Gilles Sadowski d37c71189d Preparing for release 3.0.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296734 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 00:40:59 +00:00
Sebastian Bazley d2b0a95170 Use the proper method to get the array length
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296611 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 11:48:57 +00:00
Gilles Sadowski a7d60be75e Variable visibility: "protected" -> "private". Added "protected"
getter methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296571 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 03:55:24 +00:00
Gilles Sadowski 12482617ae Variable visibility: "protected" -> "private". Added "protected"
getter methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296570 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 03:35:20 +00:00
Gilles Sadowski 92a4d6b1a0 Variable visibility: "protected" -> "private". Had to delete a few trivial
tests that accessed the fields.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296566 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 02:51:26 +00:00
Gilles Sadowski a9fec4191b Variable visibility: "protected" -> "private".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 02:23:39 +00:00
Gilles Sadowski 5774179f4b Variable visibility: "protected" -> "private".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296557 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 02:07:07 +00:00
Gilles Sadowski d27bfd83d6 Variable visibility: "protected" -> "private". Added getter methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296553 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 01:52:06 +00:00
Gilles Sadowski f8efb929f4 Changed variable visibility: "protected" -> "private".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296547 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 01:31:52 +00:00
Sebastian Bazley a998dcce9c Use getter, and make underlying variable private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296546 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 01:30:03 +00:00
Sebastian Bazley 9072f7e813 Field might as well be private, as there's a public getter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296545 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 01:22:57 +00:00
Sebastian Bazley 3cf4c1aa01 Use getter instead of direct array reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296542 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:55:17 +00:00
Sebastian Bazley 26ecdb6641 Use getter instead of direct array reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296541 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:53:08 +00:00
Sebastian Bazley 876127cc44 Field might as well be private, as there's a public getter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296539 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:47:39 +00:00
Sebastian Bazley 97bc1fd0a6 Field might as well be private, as there's a public getter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296538 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:46:37 +00:00
Sebastian Bazley 198b8a312d Field might as well be private, as there's a public getter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296537 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:45:19 +00:00
Sebastian Bazley d253634bd4 Field might as well be private, as there's a public getter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296536 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 00:44:04 +00:00