Commit Graph

5226 Commits

Author SHA1 Message Date
Gilles Sadowski acd569595e MATH-1008
Created package "o.a.c.m.fitting.leastsquares" to contain a modified version
of the contents of (to-be-deprecated) "o.a.c.m.optim.nonlinear.vector", the
main purpose being to provide a new "fluent" API (cf. "withXxx" methods).  
Along the way, class "LevenbergMarquardtOptimizer" has been further cleaned    
up (e.g. removing protected fields and deprecated methods and using local
variables instead of instance fields).
An additional constructor was necessary in "BaseOptimizer".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1508481 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 15:04:22 +00:00
Luc Maisonobe 0215c2c5f5 Typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1505938 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 08:50:10 +00:00
Luc Maisonobe e79f61951b Typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1505934 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 08:38:03 +00:00
Luc Maisonobe 24f20dc6e3 Fixed checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1505931 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 08:37:39 +00:00
Phil Steitz a626e4ce7e Enabled MathJax in site docs. JIRA: MATH-1006.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504975 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:36:30 +00:00
Sebastian Bazley aa9293caed Explicit boxing and unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504729 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:54:52 +00:00
Sebastian Bazley dafa441cca Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504726 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:44:13 +00:00
Sebastian Bazley 5e7b146f9e Boxing OK here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504724 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:41:20 +00:00
Sebastian Bazley 7d57ff6d78 Boxing OK here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504723 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:41:02 +00:00
Sebastian Bazley 95175f882a Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504722 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:39:36 +00:00
Sebastian Bazley 90c00ba7c1 Boxing OK here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504710 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:51:17 +00:00
Sebastian Bazley 0ee29fab9c Boxing OK here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504709 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:50:03 +00:00
Sebastian Bazley 64eeea32da Boxing OK here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504707 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:46:04 +00:00
Sebastian Bazley 4c8d5034c1 Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504702 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:41:19 +00:00
Sebastian Bazley eeb03015d0 Needs SVNUID; unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504701 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:40:03 +00:00
Sebastian Bazley 8262007246 Unnecessary SVNUID (class not serializable)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504699 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:32:36 +00:00
Gilles Sadowski 890687bc0b "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504688 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:22:15 +00:00
Sebastian Bazley 93f8389221 Simplify: no need to unbox the Integers just to compare values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504687 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 22:16:33 +00:00
Phil Steitz bedea0067e Added test to confirm null contract. JIRA: MATH-1007.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504656 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 20:55:46 +00:00
Sebastian Bazley c6cba39616 Forgot @since markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504496 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 15:03:25 +00:00
Sebastian Bazley a6d222c066 MATH-1007 Add mode function to StatUtils class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504495 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:59:48 +00:00
Sebastian Bazley d4aa5c6037 Simplify and eliminate boxing warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504482 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:06:23 +00:00
Sebastian Bazley 4c9ce8b719 Spare semi
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504480 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:04:45 +00:00
Sebastian Bazley a3e44a59fa Simplify and eliminate boxing warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504479 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:04:11 +00:00
Sebastian Bazley 10eff3eafb Javadoc syntax
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504473 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 13:56:10 +00:00
Sebastian Bazley c08f471063 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504468 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 13:47:15 +00:00
Sebastian Bazley 4c6c3d52c4 Update to CP32
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504467 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 13:45:28 +00:00
Phil Steitz a934dbbb88 Enabled LaTeX expressions in javadoc via MathJax. JIRA: MATH-1006.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504314 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 22:42:07 +00:00
Luc Maisonobe ce96ee600f Removed trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503713 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 13:38:02 +00:00
Luc Maisonobe fd871b977a typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503712 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 13:35:19 +00:00
Sebastian Bazley 4cbb775abb Javadoc clarifications
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503631 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:35:54 +00:00
Sebastian Bazley 43e4049d59 Test non-Comparable parameters for Pct and CumPct
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503629 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:34:38 +00:00
Sebastian Bazley 91c5101c33 Add some tests of NaNs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503623 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:15:32 +00:00
Sebastian Bazley 82a9e0d06f Drop the alternate commented approach
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503308 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:47:21 +00:00
Sebastian Bazley 4f2f94cd04 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503290 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:16:29 +00:00
Sebastian Bazley 7bbb2559f5 Make boxing explicit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503287 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:07:43 +00:00
Sebastian Bazley e3bb2063e7 MATH-1000 Add mode function to Frequency class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503286 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:05:41 +00:00
Gilles Sadowski 91d280b730 MATH-1005
Array of length 1 must be handled as a special case.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1502516 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 11:29:12 +00:00
Luc Maisonobe 7cdc540aa6 Fixed moved URL of the reference paper about automatic differentiation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500685 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 12:14:37 +00:00
Luc Maisonobe b3d0fede49 Missing javadoc @param.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500603 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 08:31:49 +00:00
Luc Maisonobe 04240b9a91 Unneeded imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500601 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 08:20:26 +00:00
Sebastian Bazley 630a53d5e4 Turn fixed values into constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500500 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 18:06:40 +00:00
Sebastian Bazley 2e56105867 Turn fixed values into constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500489 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 17:20:08 +00:00
Sebastian Bazley 3e2570e117 Oops - accidentally committed test for new method that's not yet added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500487 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 17:14:46 +00:00
Gilles Sadowski c0c42c39fc Annotation "@Override" cannot be used here (Java 5).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500402 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 10:30:15 +00:00
Gilles Sadowski 7fb87df294 MATH-997
Gauss-Hermite quadrature scheme.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500018 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 14:20:19 +00:00
Thomas Neidhart 3739de305d Fix copy&paste error in release howto.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499857 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 20:19:17 +00:00
Sebastian Bazley 16dbaf9707 Accidental over-eager commit, commented out in r1500487
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499841 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:54:42 +00:00
Sebastian Bazley 237fe2a651 Avoid Findbugs dead store warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499838 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:25:51 +00:00
Sebastian Bazley 28f6b3fc15 Spell it out - easier to read
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499815 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:28:45 +00:00