3880 Commits

Author SHA1 Message Date
Sebastian Bazley
23a6ba5cee Document why we are not using the simpler Hex constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328501 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:08:41 +00:00
Sebastian Bazley
5e7c719322 Restore closing tag accidentally deleted in r1328492
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328499 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:03:21 +00:00
Luc Maisonobe
de12e28789 Added a workaround for an OpenJDK issue on sparc solaris.
The compiler has issues with very small double constants, despite they
are perfectly legal Java and representable in IEEE754.

JIRA: MATH-721

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328492 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 20:15:11 +00:00
Gilles Sadowski
b0146fbe53 Added a unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1327526 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 14:42:13 +00:00
Thomas Neidhart
ebadb558aa [MATH-779] Fixed iterator() method in ListPopulation to return an iterator of the unmodifiable list, thanks to Reid Hochstedler.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1325427 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 18:32:53 +00:00
Thomas Neidhart
0d61a96330 [MATH-775] reverted internal list in ListPopulation to private scope and added protected getter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1325422 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 18:18:25 +00:00
Gilles Sadowski
6c6d54e80e Broken links in documentation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1324680 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 10:02:43 +00:00
Thomas Neidhart
6eadae1ee2 [MATH-775] remove getChromosomeList method and change internal list to protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1311321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 16:55:03 +00:00
Thomas Neidhart
e1ee1ce8a0 Add Reid Hochstedler to list of contributors in pom.xml after provided already 3 patches.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1310108 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:17:47 +00:00
Thomas Neidhart
f81d4ff3a0 [MATH-775] Cleanup ListPopulation class after suggestion from Reid Hochstedler,
added more sanity checks/exceptions in ctor and setters, unit tests, hide and protect internal representation.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1310103 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:08:45 +00:00
Thomas Neidhart
371b7ce033 Javadoc and formatting fixes in ElitisticListPopulation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1309531 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 18:44:00 +00:00
Thomas Neidhart
b9ca51f09f [MATH-776] Use same range check in ctor as in setter for ElitisticListPopulation.
Thanks to Reid Hochstedler

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308454 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 18:46:42 +00:00
Thomas Neidhart
c016eb832b MATH-767
Fixed unbalanced use of code tags in javadoc.
Thanks to Dennis Hendriks for reporting it.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308162 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 17:47:03 +00:00
Thomas Neidhart
4142992080 Added FixedElapsedTime stopping condition.
JIRA: MATH-773 contributed by Reid Hochstedler

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308151 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 16:46:01 +00:00
Sebastien Brisard
4de8470c86 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308098 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 13:10:08 +00:00
Sebastien Brisard
361d9d469f Updated changes.xml following resolution of MATH-756.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306759 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 09:04:24 +00:00
Sebastian Bazley
9ca9ea19c4 DOcument how to use with CP release-notes profile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306406 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 15:15:20 +00:00
Sebastian Bazley
8e8a2d3b7a Ignore .pmd file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306300 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 13:04:47 +00:00
Sebastian Bazley
eece0ae4aa Only need one copy of the NOTE:; fix the VM template reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306299 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 13:03:18 +00:00
Sebastian Bazley
99667c817a Avoid PMD syntax error by using alternate array syntax
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306277 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 11:55:05 +00:00
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