Commit Graph

3800 Commits

Author SHA1 Message Date
Sebastien Brisard d0a5eff570 Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1332162 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 11:26:10 +00:00
Sebastien Brisard 0b8e0a285c Factored out some redundant code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1332159 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 11:07:42 +00:00
Sebastien Brisard 6c3673c46b Implemented convenience classes for easy access to NIST Statistical Reference Datasets (StRD).
These classes are used for unit testing of AbstractLeastSquaresOptimizer.
See MATH-784.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1332086 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 07:41:58 +00:00
Sebastien Brisard d3561ffecb In o.a.c.m3.optimization.general.AbstractLeastSquaresOptimizer, improved the javadoc of guessParametersErrors() (MATH-784).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1332076 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 06:38:00 +00:00
Gilles Sadowski 55824972ea Relaxed tolerance in unit test (related to commit 1331849).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1331891 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 10:08:23 +00:00
Gilles Sadowski 48d4f49acb MATH-783
Re-instated the relaxation of line search tolerances, which can lead to a
significant performance improvement.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1331849 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 23:05:47 +00:00
Gilles Sadowski f700aeba3e MATH-782
Location of user-defined convergence check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1331635 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 23:30:41 +00:00
Gilles Sadowski c8f373fa5c Added unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330801 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 12:13:49 +00:00
Gilles Sadowski c7c27f910a MATH-783
Made the internal "line" search use a stopping criterion based on function
values instead of domain values (as is the default in "BrentOptimizer").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330739 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 10:02:48 +00:00
Sebastian Bazley c3e3184821 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1330625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:32:58 +00:00
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