Sebastian Bazley
83dfa0a5c0
Add missing (?) @Override marker
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330623 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:29:46 +00:00
Sebastian Bazley
2ba27ad9df
Fix generics warning
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330622 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:28:14 +00:00
Sebastian Bazley
a5e84b3e75
Unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330621 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:19:36 +00:00
Sebastian Bazley
656d46f872
Missing @Deprecated marker
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330619 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:18:46 +00:00
Sebastian Bazley
27f90d65a5
Javadoc: @value only works for compile-time constants
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330616 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:03:16 +00:00
Gilles Sadowski
58a204274e
MATH-782
...
Moved incorrectly placed block of code (user-defined stopping criterion).
Added unit test.
New utility class for simple stopping criterion based on (univariate)
function values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 14:49:44 +00:00
Gilles Sadowski
460839bd61
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1329197 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 12:10:14 +00:00
Gilles Sadowski
2f6a4f8456
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1329144 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 09:27:01 +00:00
Luc Maisonobe
ac8ff24509
avoid division by zero when dealing with single-point intervals sets
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328959 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 20:01:44 +00:00
Luc Maisonobe
cdb5e8964b
improved javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328958 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 20:00:33 +00:00
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