Luc Maisonobe
cb5e94419f
Improved checking of null vector elements.
...
The suggestions by Sébastien have been added and the second
implementation of FieldVector (SparseFieldVector) has been adapted
accordingly, despite it is deprecated.
JIRA: MATH-861
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455233 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:00:41 +00:00
Luc Maisonobe
6f3165670c
Filled throws clauses for the analysis package.
...
JIRA: MATH-854
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455194 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:45:54 +00:00
Luc Maisonobe
3ad5595706
Removed the log10 declaration in RealFieldElement interface.
...
This method introduced a binary incompatibility as one implementing
class (Dfp) did not have the proper return type and had to be changed.
The method will be added back in the interface for 4.0, when it will be
allowed to change the return type for Dfp.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455053 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 08:37:12 +00:00
Phil Steitz
9d5715114c
Removed implementation-specific doco from interface javadoc. The impl notes are already in the impl class docs (at least one of them).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1455000 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 05:04:42 +00:00
Thomas Neidhart
e7f70e46c9
[MATH-942] Add sample(int, T[]) method, add missing since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454925 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:34:20 +00:00
Luc Maisonobe
c99413d2e9
Added utilities for prime numbers.
...
Thanks to Sébastien Riou.
JIRA: MATH-845
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454920 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:05:20 +00:00
Luc Maisonobe
ca139a75fe
Fixed checkstyle error.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454917 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:45:02 +00:00
Luc Maisonobe
2fe8ea8d8e
Removed wrong explanation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454904 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:46:02 +00:00
Luc Maisonobe
dc8b1f4ac5
Renamed ExtendedFieldElement into RealFieldElement.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:44:31 +00:00
Luc Maisonobe
a51119c013
Fixed generation of long random numbers between two bounds.
...
We now directly use discrete raw values to build the int/double instead
of relying on floating point arithmetic.
JIRA: MATH-936
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454897 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 19:02:54 +00:00
Luc Maisonobe
55a655ca2b
Fixed CLIRR error, by putting back protected methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 16:41:08 +00:00
Thomas Neidhart
56ed0aeb10
Added change entry for tests already added in 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454861 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 14:56:18 +00:00
Luc Maisonobe
fd8a0da6b9
Fixed warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454847 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 13:07:08 +00:00
Luc Maisonobe
26f3166f11
Test new RandomDataGenerator class rather than deprecated RandomImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 13:02:04 +00:00
Luc Maisonobe
0d057fc6dc
Fixed creation of generic array.
...
Thanks to Piotr Wydrych.
JIRA: MATH-942
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454840 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 12:01:00 +00:00
Luc Maisonobe
f00bd95151
Check bounds in multi-start vector optimizers.
...
JIRA: MATH-914
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454746 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 17:37:30 +00:00
Luc Maisonobe
41b097afa5
Added Apache license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454723 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:40:21 +00:00
Luc Maisonobe
b95d3997a8
Added Apache license header.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454722 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:40:01 +00:00
Luc Maisonobe
374fe6e432
Added Apache license headers.
...
The header has been added to data files, and the corresponding test has
been updated to ignore the header lines.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454721 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:39:41 +00:00
Luc Maisonobe
95ec5653c6
Added Apache license headers.
...
The header has been added to test files, and the corresponding test
updated to ignore the header lines.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454719 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:34:05 +00:00
Luc Maisonobe
cf5eea99f4
removed .svnignore file that made RAT unhappy because of missing license header.
...
The svn:ignore property is still set on the directory, so the file was superfluous.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454703 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 13:36:07 +00:00
Luc Maisonobe
a0086bc16d
Fixed javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454464 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:58:10 +00:00
Luc Maisonobe
2405474275
Fixed checkstyle warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454461 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:56:59 +00:00
Luc Maisonobe
2dd51f50d9
Removed redundant public modifiers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454442 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:09:12 +00:00
Luc Maisonobe
b13e6785df
Added missing header.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454441 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:08:43 +00:00
Luc Maisonobe
91ebbb6294
Added discrete distributions.
...
Patch contributed by Piotr Wydrych.
JIRA: MATH-941
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454439 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 15:59:29 +00:00
Thomas Neidhart
e6a5e6dc9c
Make more specific exclude filter for download cgi.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454262 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 07:33:54 +00:00
Thomas Neidhart
721a674d93
Exclude download cgi from source distribution.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454037 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 19:29:41 +00:00
Luc Maisonobe
408fa3a6af
Fixed abstract test class naming that broke ant builds.
...
JIRA: MATH-940
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 10:59:33 +00:00
Luc Maisonobe
49444ee6a5
Allow covariance to be computed for one-dimensional variables.
...
JIRA: MATH-939
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453271 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 10:29:51 +00:00
Luc Maisonobe
73605560b9
Fixed accuracy of 3D Line.revert().
...
JIRA: MATH-938
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1453218 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 08:53:28 +00:00
Thomas Neidhart
43a6f15a1a
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1452595 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 23:29:39 +00:00
Luc Maisonobe
04050f3552
Improved javadoc to explain how switching functions should behave across
...
events in ODE events detection.
JIRA: MATH-937
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1451658 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:36:46 +00:00
Olivier Lamy
9cba348d7b
restore download cgi
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450538 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 23:52:00 +00:00
Olivier Lamy
81df5de922
fix links to previous release javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450238 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:54:58 +00:00
Luc Maisonobe
feda07b7e5
Brought back some useful static methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1450096 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 09:29:25 +00:00
Luc Maisonobe
b84754cc7f
Added derivatives evaluation for field Hermite interpolator.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449822 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 19:31:52 +00:00
Luc Maisonobe
f4e9bfe99f
New test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449744 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 15:19:41 +00:00
Luc Maisonobe
d788563f4e
Removed development traces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449735 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:52:52 +00:00
Luc Maisonobe
2925baa963
Improved test coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449723 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:34:37 +00:00
Luc Maisonobe
ccdf6bd680
Fixed definition of remainder and added missing copySign signature.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449722 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 14:33:53 +00:00
Luc Maisonobe
684a87be70
Added Hermite interpolator for ExtendFieldElement instances.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449657 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 10:59:10 +00:00
Luc Maisonobe
49d94ad78c
Added a new ExtendedFieldElement interface.
...
This interface represents anything that is real number like. It is
implemented by Decimal64, Dfp and DerivativeStructure. The purpose of
this interface is to be able to set up general algorithms that apply on
real numbers (maybe complex too) and use genericity.
A first use case corresponds to 3D geometry objects (Vector3D and
Rotation).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449529 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 19:13:17 +00:00
Luc Maisonobe
3ffdf6246a
Set up array building methods for generic types.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449528 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 19:06:20 +00:00
Luc Maisonobe
8dd9f830ad
Added a conversion from RotationDS to Rotation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447753 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:07:04 +00:00
Luc Maisonobe
fc277966a7
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447752 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:06:43 +00:00
Luc Maisonobe
b1a4e8f2f9
Added partial derivatives computation for 3D vectors and rotations.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447263 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:58:21 +00:00
Luc Maisonobe
2962744c71
Improved test coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447260 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:57:23 +00:00
Luc Maisonobe
74806d2e06
Improved test coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447259 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:56:39 +00:00
Luc Maisonobe
48dde3784e
Fixed DerivativeStructure.atan2 for special cases when both arguments
...
are +/-0.
JIRA: MATH-935
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446473 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 08:20:11 +00:00
Luc Maisonobe
2edd83f5f5
Added tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446242 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 15:38:55 +00:00
Luc Maisonobe
ef76ef299e
Added accurate linear combinations for DerivativeStructure instances.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446210 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:43:15 +00:00
Thomas Neidhart
81eddba084
Remove trailing space.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1444500 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 08:10:40 +00:00
Gilles Sadowski
0b24467e5f
MATH-933
...
Throw exception from optimizers that do not support simple bounds.
Changing visibility of "parseOptimizationData" method to "protected" in order
to allow the parent class to parse its data before the subclass (and thus
providing more flexibility: the subclass is able check input consistency at
the options parsing step).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443444 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 12:41:36 +00:00
Luc Maisonobe
3e53d40794
Fix typo and avoid computing an unused element.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443364 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 09:28:04 +00:00
Luc Maisonobe
23083ae26e
Added conversion of gradients and Hessians from spherical to Cartesian
...
coordinates in 3D.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443178 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 20:08:33 +00:00
Gilles Sadowski
90e428ddac
MATH-933
...
Throw exception when bounds are passed to an algorithm that does not
support them.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1442377 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 21:31:42 +00:00
Gilles Sadowski
8204809676
MATH-931
...
Efficiency improvement and unit test (thanks to Sean Owen).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1440734 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 23:27:41 +00:00
Gary D. Gregory
95a6da2a68
JUnit 3 -> 4: replace import of junit.framework.Assert with org.junit.Assert.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1437541 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 16:25:05 +00:00
Thomas Neidhart
0c0822d658
[MATH-930] Add new constructors to override the hard-coded cut-off value, further improve javadoc and update failing unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435810 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 10:04:45 +00:00
Thomas Neidhart
573c806be0
[MATH-930] Updated changes.xml, added unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435546 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:44:41 +00:00
Thomas Neidhart
95650f86eb
[MATH-930] Add info the class javadoc wrt convergence criteria, add another ctor to only adjust the epsilon value.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435544 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:40:09 +00:00
Thomas Neidhart
08e227ad3a
Add missing svn:keywords properties.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435539 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:27:24 +00:00
Gilles Sadowski
cedf0d27f9
MATH-929
...
Fixed truncated value. Thanks to Piotr Wydrych.
Added unit test: comparing density values with univariate
normal distribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1433367 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 12:15:50 +00:00
Gilles Sadowski
fea4dd914b
Updated "changes.xml".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432683 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:03:48 +00:00
Phil Steitz
5f0e374d4f
Replaced reference to deleted class.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432656 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 16:53:12 +00:00
Phil Steitz
a70f833db4
Fixed error (reference to deleted class); added factory method example.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432652 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 16:24:06 +00:00
Gilles Sadowski
7f4375fcbd
Preparing release 3.1.1.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430864 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:56:21 +00:00
Gilles Sadowski
d2999aa660
Preparing release 3.1.1.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430849 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:37:50 +00:00
Gilles Sadowski
7fd57f3158
Unused variable.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430847 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:18:36 +00:00
Gilles Sadowski
7096b9b24e
Unit tests for "DiagonalMatrix".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430846 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:17:59 +00:00
Gilles Sadowski
c4243e1103
Fixed "CheckStyle" warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430845 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:17:08 +00:00
Gilles Sadowski
185e3033ef
MATH-927
...
Made "BitsStreamGenerator" class "Serializable" to allow cloning of
subclasses. Added cloning test for all "RealDistribution" classes.
Thanks to Dennis Hendriks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1428822 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 12:28:44 +00:00
Gilles Sadowski
216497d772
MATH-925
...
Added "final" keyword.
Removed degenerate case (matrix with no data).
Used constructor chaining.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427276 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 01:41:09 +00:00
Gilles Sadowski
a9dfc11f1d
Added a "Latest API" link to the site template (as suggested by Phil
...
on the ML).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427112 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 12:54:58 +00:00
Phil Steitz
59c8371ba1
Dropped extraneous javadoc @param.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427046 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 04:43:29 +00:00
Gilles Sadowski
8bdb73e3e0
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 00:30:27 +00:00
Phil Steitz
6c8aaf0318
Updated download page template to match deployed site.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426998 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 21:51:11 +00:00
Gilles Sadowski
2836a6f9ef
MATH-924
...
Avoid memory exhaustion for large number of unclorrelated observations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426759 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:26:44 +00:00
Gilles Sadowski
b07ecae3d6
MATH-924
...
Using a diagonal matrix to avoid exhausting memory.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426758 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:16:17 +00:00
Gilles Sadowski
ace42058d6
MATH-925
...
Minimal implementation of a diagonal matrix. Unit tests are lacking.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426757 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:11:51 +00:00
Luc Maisonobe
ed39d2dbe2
reverting commit introduced in r1426616
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426751 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 12:10:52 +00:00
Luc Maisonobe
250cf6e366
Added vector-only weights for multivariate vector optimizers.
...
JIRA: MATH-924
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426616 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 20:16:38 +00:00
Phil Steitz
c7cfb66633
Changed ValueServer tests to use fixed random seed.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1425978 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 18:19:30 +00:00
Gilles Sadowski
f50ed38e61
Reverting changes introduced in revision 1425639.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1425640 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 12:25:52 +00:00
Gilles Sadowski
69c88c7539
Added links for version 3.1 to template.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1425639 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 12:09:09 +00:00
Gilles Sadowski
db71bca960
Typo in method names.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1424252 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 00:49:00 +00:00
Luc Maisonobe
3c60c05fd4
Added new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1424107 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 21:10:20 +00:00
Luc Maisonobe
a5f02be035
removed unused import statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1424087 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 20:32:50 +00:00
Luc Maisonobe
efe4fc43d6
Adding missing Apache headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1424078 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 20:20:29 +00:00
Gilles Sadowski
b3fbfad2b1
Delayed release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423693 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 22:08:38 +00:00
Gilles Sadowski
c0a79b0809
MATH-922
...
Parent's field must be updated by subclass.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423687 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 21:56:18 +00:00
Gilles Sadowski
8953bc7402
Release delayed.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423563 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 18:11:51 +00:00
Gilles Sadowski
864fa3cfff
Removed usage of deprecated classes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423558 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 18:07:45 +00:00
Gilles Sadowski
0be09792a0
MATH-922
...
Parent class's method "getCovariances()" assumes that the protected
field "point" contains the result of the optimization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1423555 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 18:02:52 +00:00
Gilles Sadowski
fec55788a3
Fixed "Clirr" errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422588 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 15:01:12 +00:00
Gilles Sadowski
d39c4595b9
Added estimate for the release date in "changes.xml".
...
Copied "findbugs" exclude filters for package "optim".
Updated link to "apidocs" (for release 3.1) in "site.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422581 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 14:20:20 +00:00
Phil Steitz
32e7890edb
Added missing @since tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422447 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 01:38:40 +00:00
Gilles Sadowski
386ae0156a
MATH-757
...
Class was not thread-safe.
Comment added to warn users that they must handle synchronization by
themselves if they need it.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422433 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 00:45:18 +00:00
Phil Steitz
1e40f1f36c
Combined if statements (PMD).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422354 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 20:59:01 +00:00
Phil Steitz
99155e564c
Muted pmd for empty catch blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422350 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 20:47:47 +00:00
Phil Steitz
0d31f27386
Made default file encoding explicit (FindBugs).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422338 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 20:05:51 +00:00
Phil Steitz
623963275a
Javadoc formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422337 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 20:04:47 +00:00
Phil Steitz
7d61c9ada9
Added sync to compute method.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422321 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 19:24:04 +00:00
Phil Steitz
1a77fde3cd
Added missing @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422313 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 18:53:41 +00:00
Luc Maisonobe
7fc64f6dcb
Added documentation for differentiation in user guide.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422251 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 14:20:12 +00:00
Gilles Sadowski
0017c17836
MATH-874
...
Javadoc (deprecation tag).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 12:11:13 +00:00
Gilles Sadowski
d868dbf47d
MATH-874
...
Added "@Deprecated" annotation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422223 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 11:32:35 +00:00
Luc Maisonobe
389aa0081a
Fixed a missing element in the solvers table (user-guide).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422214 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 10:23:18 +00:00
Phil Steitz
23400334ee
Added missing @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 06:45:18 +00:00
Gilles Sadowski
f235e1c1d0
Replaced deprecated "RandomDataImpl" with "RandomDataGenerator".
...
Added private constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422123 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:12:34 +00:00
Gilles Sadowski
1f7c434521
Deprecation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422107 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 21:47:21 +00:00
Phil Steitz
2f33283981
Reverted incompatible changes made in r1420006.
...
Fixed javadoc error in EmpiricalDistribution class javadoc.
Deprecated constructors taking RandomDataImpl instances in EmpiricalDistribution, ValueServer. These constructors predate RandomGenerator, which should be used directly as the source of random data for these classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421968 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 16:28:23 +00:00
Luc Maisonobe
610b5d26c9
Fixed PMD warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421949 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:53:32 +00:00
Gilles Sadowski
2bdc9d4548
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:05:18 +00:00
Gilles Sadowski
6f806cfe41
MATH-916
...
Restore backwards-compatibility (for release 3.1).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421911 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:59:44 +00:00
Gilles Sadowski
29a297de44
MATH-915
...
Restore backwards-compatibility (for release 3.1).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421910 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:57:56 +00:00
Thomas Neidhart
7521e5af34
Fix PMD warnings by suppressing or removing unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:45:57 +00:00
Gilles Sadowski
96f6fd10b6
Removed inconsistent null checks (reported by FindBugs).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421290 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:39:04 +00:00
Gilles Sadowski
77910da210
MATH-914
...
Markers to indicate the bug location.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421287 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:29:56 +00:00
Gilles Sadowski
3f7e2e38ce
Unused argument (found by PMD).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421280 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:07:57 +00:00
Gilles Sadowski
28c30e9190
Unused argument (found by PMD).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421263 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:47:07 +00:00
Gilles Sadowski
931e594d11
Removed unneeded "import" statements.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421260 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:41:54 +00:00
Gilles Sadowski
f25ba664ed
Fixed bug found by PMD.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421249 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:32:03 +00:00
Gilles Sadowski
4a75bce80e
MATH-874
...
Moved "GoalType" and "ObjectiveFunction" to package
"o.a.c.m.optim.nonlinear.scalar".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421054 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 00:54:05 +00:00
Gilles Sadowski
889c2d9e19
MATH-874
...
Data files needed by some unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420762 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:27:35 +00:00
Gilles Sadowski
4a007942c4
Fixed wrong position of package description.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420705 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:35:37 +00:00
Gilles Sadowski
5968be0da0
MATH-874
...
Update "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420693 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:18:22 +00:00
Gilles Sadowski
7ee7843ffe
MATH-874
...
Refactored of the contents of package "o.a.c.m.optimization"
into the new "o.a.c.m.optim" and "o.a.c.m.fitting" packages.
* All deprecated classes/fields/methods have been removed in the
replacement packages.
* Simplified API: a single "optimize(OptimizationData... data)"
for all optimizer types.
* Simplified class hierarchy, merged interfaces and abstract
classes, only base classes are generic.
* The new classes do not use the "DerivativeStructure" type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420684 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:10:38 +00:00
Gilles Sadowski
63623c9236
Fixed "Clirr" error.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420669 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 13:40:35 +00:00
Gilles Sadowski
c5bb8dcf03
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420666 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 13:33:20 +00:00
Phil Steitz
6c048df147
Fixed javadoc error, replaced depreacated class.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420006 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 06:10:08 +00:00
Phil Steitz
905aaf4567
Added RealDistribution methods to EmpiricalDistribution. JIRA: MATH-672.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420000 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:36:06 +00:00
Sebastien Brisard
95fc482c33
Javadoc: warning about private methods being accessed through reflection in
...
unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416796 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 06:41:57 +00:00
Luc Maisonobe
8f98daf191
Added lower and upper boundaries to finite differences.
...
When a function is defined only on an interval, finite differences
should not attempt to compute sample points outside this interval. This
case is now detected properly and the sample is shifted if needed. This
may result in some loss of accuracy as the formula is not centered
anymore, but at least we should not get catastrophic errors or
exceptions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416249 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 20:23:49 +00:00
Thomas Neidhart
0fde6532f1
Removed unused variables.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416204 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 17:43:39 +00:00
Sebastien Brisard
ce2502a522
Replaced calls to deprecated Beta.logBeta(double, double, double, int) with
...
calls to Beta.logBeta(double, double).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416017 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 16:24:33 +00:00
Sebastien Brisard
141f4b8163
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416010 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 16:08:12 +00:00
Sebastien Brisard
492f3de982
Description of upcoming version 3.1 now reports that the accuracy of Beta has
...
been improved.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415973 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 10:36:26 +00:00
Sebastien Brisard
efe3c99df1
In the users guide, updated the accuracy of logBeta.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415971 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 10:32:30 +00:00
Gilles Sadowski
de04366617
MATH-874
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415872 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 22:17:07 +00:00
Sebastien Brisard
f64b6a906b
MATH-738: New implementation of Beta.logBeta(double, double), based on the NSWC
...
library of mathematical functions.
- increased accuracy
- deprecation of Beta.logBeta(double, double, double, int) as the new
implementation is no longer iterative.
- some private methods are tested through reflection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415853 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 21:02:23 +00:00
Gilles Sadowski
949ba2c539
MATH-874
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415454 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 23:26:00 +00:00
Gilles Sadowski
ebae96965e
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415158 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:27:10 +00:00
Gilles Sadowski
2855cc309e
Annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415149 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:12:55 +00:00
Gilles Sadowski
4333489f68
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415000 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 00:00:51 +00:00
Gilles Sadowski
d7f652b816
MATH-897
...
Updated "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414848 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:13:32 +00:00
Sebastien Brisard
647b3b4dde
Checkstyle: removed exception from signature, as this exception will never be raised.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414536 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:51:27 +00:00
Sebastien Brisard
6d9e72505e
Checkstyle.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414535 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:48:50 +00:00
Sebastien Brisard
a869a06efa
In GammaTest: restored method checkRelativeError which was inadvertently removed in r1414527.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414531 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:39:39 +00:00
Sebastien Brisard
87d61c2a51
In changes.xml: Beta has not been changed yet.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414529 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:33:36 +00:00
Sebastien Brisard
c080fd3c18
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414528 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:30:38 +00:00
Sebastien Brisard
c1a2c4081c
In class Gamma, removed auxiliary functions logGammaSum and
...
logGammaMinusLogGammaSum, as they are not ready to be included in version 3.1
of Commons-Math.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:27:27 +00:00
Sebastien Brisard
2fde62aff6
In class Beta, removed auxiliary function bcorr, as it is not ready to be
...
included in version 3.1 of Commons-Math.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414525 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:24:12 +00:00
Gilles Sadowski
2786244d09
Contents for the release notes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414470 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:06 +00:00
Gilles Sadowski
d580fb2ca8
MATH-895
...
Replaced deprecated method with alternative from "MathArrays".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414441 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:27:17 +00:00
Gilles Sadowski
bc69c0088d
MATH-910
...
Element-by-element basic operations on arrays.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414435 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:19:36 +00:00
Gilles Sadowski
6844aba987
MATH-904.
...
Fixed wrong assumption in "pow" method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413916 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 23:02:29 +00:00
Sebastien Brisard
4673043763
In classes o.a.c.m3.special.Gamma and o.a.c.m3.special.Beta, made some
...
auxiliary functions package private. It is very unlikely that these functions
should be used outside this package, and if necessary, it will always be
possible to increase their visibility (while the reverse would break
compatibility).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413807 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 19:55:07 +00:00
Sebastien Brisard
fec7740958
MATH-849: Gamma.gamma(double) returns NaN if called on negative integer.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413802 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 19:45:52 +00:00
Gilles Sadowski
f348a29e5f
MATH-902
...
Update "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413695 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 16:01:55 +00:00
Gilles Sadowski
dfc6a5c215
MATH-905
...
Update "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413604 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:29:18 +00:00
Gilles Sadowski
46ed0af1c2
MATH-905
...
Avoid overflow on the whole range covered by the equivalent functions in
the standard "Math" class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413600 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:25:27 +00:00
Gilles Sadowski
9e75d6faa9
MATH-908
...
Added constructor.
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413594 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:16:39 +00:00
Sebastien Brisard
4d035b59a1
In class Beta, wrote DEFAULT_EPSILON in a less error-prone way (1E-14 instead
...
of 10e-15).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413555 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 11:22:02 +00:00
Thomas Neidhart
71e11fc375
Simplify hashCode/equals/toString methods by using appropriate methods from java.util.Arrays, similar to EuclideanDoublePoint.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413424 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 21:23:31 +00:00
Sebastien Brisard
17c50866e0
MATH-738: implementation of Beta.bcorr(double, double), an auxiliary function
...
for the computation of Beta.beta(double, double).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413369 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:44:39 +00:00
Sebastien Brisard
e6dc431a6a
Javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:25:29 +00:00
Sebastien Brisard
7cf359aab1
Further unit tests of Gamma.logGammaSum(double, double): preconditions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413367 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:05:57 +00:00
Sebastien Brisard
27178b80c4
MATH-738: in class o.a.c.m3.special.Gamma, implemented function
...
logGammaMinusLogGammaSum(double, double),
which computes accurately log(Gamma(b)) - log(Gamma(a + b))
for a >= 0 and b >= 8. Based on the NSWC library.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413366 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:00:43 +00:00
Sebastien Brisard
1d25ac89e3
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413361 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 15:20:22 +00:00
Sebastien Brisard
87a2928ff5
MATH-849: updated changes.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413245 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 19:12:14 +00:00
Gilles Sadowski
eb889c8f9f
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413186 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 13:47:59 +00:00
Gilles Sadowski
9a9b2d3153
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413172 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 11:15:12 +00:00
Gilles Sadowski
ec46f40b0b
MATH-902
...
Allow stopping condition based on the number of iterations (for "univariate"
optimizers).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413171 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 11:11:10 +00:00
Phil Steitz
53f44454dc
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413131 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:44:02 +00:00
Phil Steitz
9bcd29de47
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413127 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:37:30 +00:00
Phil Steitz
a30bef00fb
Fixed javadoc link.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413126 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:24:26 +00:00
Phil Steitz
a42825bef5
Fixed javadoc tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413125 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:18:00 +00:00
Phil Steitz
15560aaba5
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413122 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 03:51:40 +00:00
Gilles Sadowski
3467a4bcd3
Using methods from JDK.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413096 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 22:34:05 +00:00
Gilles Sadowski
1f51afc5a5
MATH-908
...
Added constructor to enable independent settings of the line search
tolerances. Updated unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 22:10:55 +00:00
Gilles Sadowski
04c63b1630
MATH-902
...
Fixed Javadoc. Added unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412713 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 23:17:49 +00:00
Gilles Sadowski
ccf9403db5
MATH-902
...
"changes.xml" updated.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412586 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 15:25:56 +00:00
Thomas Neidhart
0f6f0d8526
Remove unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412245 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 19:38:02 +00:00
Gilles Sadowski
0f8b842020
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412070 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 11:49:00 +00:00
Thomas Neidhart
0073facaf9
[MATH-906] Use NaNStrategy.FAILED as default in NaturalRanking.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411880 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:13:54 +00:00
Gilles Sadowski
4577812519
Unnecessary code removed.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411809 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:33:17 +00:00
Gilles Sadowski
8da1dede24
MATH-902
...
Added a constructor in the custom checkers that enables normal termination
of an optimization algorithm (i.e. returning the curent best point after a
selected number of iterations have been performed).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411807 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:29:16 +00:00
Gilles Sadowski
a20e951321
License text.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411806 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:23:02 +00:00
Sebastien Brisard
cea5afed35
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411388 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 20:12:57 +00:00
Sebastien Brisard
ad7ba6374d
In class Gamma, implementation of (a, b) -> log(Gamma(a + b)). See MATH-738.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411387 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 20:07:25 +00:00
Gilles Sadowski
ce126bdbc6
MATH-899
...
Fixed copy/paste bug.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411009 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 22:48:05 +00:00
Gilles Sadowski
514492efd4
MATH-894
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 22:04:54 +00:00
Gilles Sadowski
cca05f0c71
MATH-899
...
Added wrapper class that allows thread-safe usage of any "RandomGenerator".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410990 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 21:00:34 +00:00
Thomas Neidhart
2a75c2afdc
[MATH-897] Add DBSCAN clustering algorithm, thanks to Reid Hochstedler.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410882 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 12:49:49 +00:00
Gilles Sadowski
f14e5102f2
MATH-894
...
Reflect type change in "hashCode".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410660 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:20:08 +00:00
Gilles Sadowski
76ca9329ca
MATH-894
...
Deprecated setter for fields that should be declared as "final".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410658 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:13:37 +00:00
Gilles Sadowski
2536920734
MATH-894
...
Name change ("contractionCriteria" -> "contractionCriterion").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410657 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:08:49 +00:00
Gilles Sadowski
4cd203f41e
MATH-894
...
Changed type of "expansionFactor" and "contractionCriteria" from
"float" to "double" and deprecated methods and constructors that
use "float".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410469 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:59:16 +00:00
Gilles Sadowski
5118f5376d
MATH-900
...
License text moved to "LICENSE.txt".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410460 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:49:38 +00:00
Gilles Sadowski
23166ac9c1
MATH-900
...
License information moved to "LICENSE.txt".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410433 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:23:39 +00:00
Luc Maisonobe
d3811b134b
Replaced a character encoded in isolatin-1 in Javadoc.
...
As per current discussions on the dev list, we should go to UTF-8
entirely. For now, I have just used plain old html entities until we
make sure everything can be generated properly from UTF-8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410238 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 07:58:49 +00:00
Gilles Sadowski
166cfce47f
By having "UnivariateStatistic" extend the new "MathArrays.Function"
...
interface, subclassing "ResizableDoubleArray" is not necessary to achieve
the required functionality (see MATH-894).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410126 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:32:18 +00:00
Gilles Sadowski
b7555df622
MATH-894
...
Introducing new interface for operating on a "double[]" (added in
the "MathArrays" class). Using this interface, operations can be
performed on the internal array of a "ResizeableDoubleArray" through
a new "compute" method. Thanks to Phil Steitz.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410121 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:18:30 +00:00
Gilles Sadowski
4870a5d99d
MATH-894
...
Removed "initialCapacity" field.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410109 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 23:35:56 +00:00
Gilles Sadowski
f2235a59a3
Javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409545 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 23:25:05 +00:00
Gilles Sadowski
b06f4a4ac6
Replaced calls to deprecated methods in "ResizeableDoubleArray" (see
...
MATH-894). Created subclass of "ResizeableDoubleArray" in order to
access to the object's internal array.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409509 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:55:07 +00:00
Gilles Sadowski
615661c90f
MATH-894
...
Added new "protected" (and not "synchronized") methods to allow access to
the internal array for subclasses only.
Javadoc formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409475 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:13:54 +00:00
Thomas Neidhart
586a9603ef
Reduce sleep time in unit test to prevent possible race condition.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409352 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 20:09:51 +00:00
Sebastien Brisard
245fbc7d13
New values of the accuracy of Beta.logBeta(double, double).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409108 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 07:42:39 +00:00
Sebastien Brisard
3c8ba5e630
Further accuracy assessments of Beta.logBeta(double, double)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409107 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 07:41:29 +00:00
Sebastien Brisard
4cb2a39629
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409091 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 06:18:40 +00:00
Gilles Sadowski
a7660837c3
MATH-894
...
Made the doc reflect the new behaviour of "clear()".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408833 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 17:03:47 +00:00
Gilles Sadowski
32d47dd087
Use constructor chaining (in place of duplicate code).
...
Fixed Javadoc typos (expansion factor and contraction criterion default
values).
Javadoc formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408830 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:53:13 +00:00
Gilles Sadowski
ac5efee04b
Avoid duplicate computation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408805 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 15:55:26 +00:00
Gilles Sadowski
4b60e4262d
MATH-894
...
Added new enum type to replace the integers used to represent the
expansion mode. Deprecated methods and contructor that use the old
representation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408797 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 15:50:24 +00:00
Gilles Sadowski
674f552985
MATH-894
...
Removed the reallocation in method "clear()".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408735 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 14:13:46 +00:00
Gilles Sadowski
593be67923
MATH-894
...
Deprecated methods that exposed internal state.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408723 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 13:55:45 +00:00
Gilles Sadowski
b324690406
Formatting, Javadoc, "final" keyword.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408340 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 16:03:36 +00:00
Phil Steitz
16926f74f1
Consistently use G for G Test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408281 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:37:20 +00:00
Gilles Sadowski
de9e8b8c78
MATH-894
...
New method "getCapacity". Deprecated "getInternalLength".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408280 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:33:26 +00:00
Gilles Sadowski
6080bc88a8
MATH-887
...
Changed "computeWeightedJacobian" to return exactly that, instead of the
weighted Jacobian matrix multiplied by -1. Changed subclasses accordingly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408250 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 11:36:40 +00:00
Gilles Sadowski
00d309c45d
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408246 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 11:27:31 +00:00
Phil Steitz
368050bbe6
Added G-test. JIRA: MATH-878.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408174 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 04:33:11 +00:00
Phil Steitz
c49c8c6667
Added G-test to TestUtils. JIRA: MATH-878
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408173 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 04:32:02 +00:00
Phil Steitz
f1dac3079a
Changed G-test method names to follow conventions in the inference package. JIRA: MATH-878.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408172 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 04:29:46 +00:00
Thomas Neidhart
16acabd53f
[MATH-893] Add new NaNStrategy FAILED, thanks to Patrick Meyer.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407852 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 17:14:51 +00:00
Thomas Neidhart
def7381851
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407848 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 16:58:59 +00:00
Thomas Neidhart
ff96ac9292
[MATH-892] Add new ctor to SpearmansCorrelation, reordering of ctors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407847 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 16:51:49 +00:00
Sebastien Brisard
a170601629
In the users guide for special functions
...
- accuracy of current implementation of Beta.logBeta
- standard deviation of error (in ulps) is now provided for all special
functions that have already been evaluated.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407594 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 19:03:28 +00:00
Sebastien Brisard
6687706d44
Script files for the validation of beta.logBeta(double, double)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407592 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 18:59:21 +00:00
Gilles Sadowski
b76ce72cf0
MATH-887
...
Removed usage of "protected" fields "cols" and "rows".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407501 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 15:48:56 +00:00
Gilles Sadowski
4ece62e101
MATH-894
...
Removed call to "contract" in "addElement".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407485 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 15:15:11 +00:00
Gilles Sadowski
3456d2a12a
MATH-887
...
Renamed "computeJacobian" to "computeWeightedJacobian" to relect what is
actually done.
Made "setCost" a "protected" method (as it should only be modified according
to the optimum found by the subclass's algorithm (defined in "doOptimize()").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407478 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 14:57:10 +00:00
Gilles Sadowski
ca08d0e8b1
MATH-887
...
In "LevenbergMarquardtOptimizer", removed usage of deprecated fields and
methods from its base class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407467 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 14:30:49 +00:00
Sebastien Brisard
a8045be9dd
In shell script RealFunctionValidation.sh, pass command line argument to java
...
app.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407384 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:50:04 +00:00
Sebastien Brisard
e54d3237a3
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407382 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:47:38 +00:00
Sebastien Brisard
a6f3c8e178
Ignore *.dat files, which might be generated by the *.mac Maxima scripts.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407378 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:29:00 +00:00
Sebastien Brisard
d177a29813
Properties files to be used with RealFunctionValidation, for functions
...
Gamma.logGamma and Gamma.gamma.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407377 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:24:16 +00:00
Sebastien Brisard
b04b10ca6e
Small java application for the accuracy assessment of implementations of real
...
functions in Commons Math. The accuracy is assessed through comparison with
reference values computed with multi-precision softwares.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407376 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:13:18 +00:00
Gilles Sadowski
37791912c6
"final" keyword.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407037 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 12:59:07 +00:00
Gilles Sadowski
2ce650bf54
MATH-887
...
Made "GaussNewtonOptimizer" use the new methods in base class
"AbstractLeastSquaresOptimizer" instead of modifying the (now
deprecated) protected fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407034 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 12:48:54 +00:00
Gilles Sadowski
54cfc6ce0a
MATH-887
...
Deprecated "protected" fields.
Created new methods (that take arguments and return a value) to
replace those that operate on protected fields.
Removed call to deprecated methods in unit tests.
Added public method "setCost" to replace the direct assignment to
a protected field.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1407010 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 10:50:34 +00:00
Gilles Sadowski
b65cad05b9
MATH-887
...
First steps to enhance encapsulation (goal is to remove the "protected"
fields): used new API (MATH-874).
Replaced explicit loops with matrix operations.
Disabled a unit test that does not pass anymore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1406010 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 23:41:05 +00:00
Gilles Sadowski
568404b6eb
Typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1406008 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 23:32:15 +00:00
Luc Maisonobe
c61b08e546
Fixed naming inconsistencies between Interval and IntervalsSet classes.
...
JIRA: MATH-890
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1405711 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 08:43:38 +00:00
Luc Maisonobe
2a41e40c15
Added a method to check points in the Interval class.
...
JIRA: MATH-889
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1405706 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 08:00:19 +00:00
Phil Steitz
387e7f9fa9
Reverting changes inadvertently committed in r1405634.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1405635 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:56:37 +00:00
Phil Steitz
6e40b488fd
Javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1405634 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:51:21 +00:00