Sebastian Bazley
2cf1ab983b
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206653 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:12:44 +00:00
Sebastian Bazley
db8154e7a0
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206652 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:11:07 +00:00
Sebastian Bazley
a59ee687f1
Javadoc syntax
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206651 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:05:13 +00:00
Phil Steitz
325e797341
Eliminated deprecated exception.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206618 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:56:20 +00:00
Phil Steitz
d7f3fee311
Eliminated deprecated exception.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206609 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:38:26 +00:00
Phil Steitz
dd9c970279
Fixed example to work after impl/interface merge. Fixed a typo. JIRA: MATH-711.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206604 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:33:01 +00:00
Phil Steitz
d3570e8ae9
Completed implementation of sample variance support in statistical aggregates. JIRA: MATH-693.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206596 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:23:22 +00:00
Phil Steitz
a5949c6f59
Keep math-supplied statistics tied to their internal moments.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:23:02 +00:00
Phil Steitz
5ee7ecfc4e
Added populationVariance method. JIRA: MATH-693.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206475 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:17:14 +00:00
Phil Steitz
fcf0477a1a
Javadoc only. Clarified how increment works with an external second moment.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206471 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:11:00 +00:00
Sebastien Brisard
dbcf7dd622
Merged ZipfDistribution and ZipfDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 14:58:07 +00:00
Sebastien Brisard
d161d473bb
Merged PoissonDistribution and PoissonDistributionImpl (MATH-711).
...
Merged TDistribution and TDistributionImpl (MATH-711).
Merged WeibullDistribution and WeibullDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206434 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 13:23:27 +00:00
Gilles Sadowski
fda34e0376
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 12:01:58 +00:00
Sebastien Brisard
3b94e30307
Merged KolmogorovSmirnovDistribution and KolmogorovSmirnovDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206425 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 10:53:26 +00:00
Sebastien Brisard
3f9a933d4c
Merged NormalDistribution and NormalDistributionImpl (MATH-711).
...
Merged PascalDistribution and PascalDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206421 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 10:17:49 +00:00
Sebastien Brisard
ca7a127a14
Merged HypergeometricDistribution and HypergeometricDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206406 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 07:25:26 +00:00
Sebastien Brisard
32354a1039
- Merged ExponentialDistribution and ExponentialDistributionImpl (MATH-711).
...
- Merged FDistribution and FDistributionImpl (MATH-711).
- Merged GammaDistribution and GammaDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206399 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 06:17:49 +00:00
Gilles Sadowski
a050013f44
MATH-689
...
Implemented "copySign" for integral types. Removed redundant "indicator"
functions.
Moved "indicator" tests (for floating point arguments) to "FastMathTest",
as the corresponding "copySign" methods are in "FastMath".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206274 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 18:02:21 +00:00
Gilles Sadowski
ec5d9d3772
MATH-689
...
Moved "pow" (integer arguments) to "ArithmeticUtils".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206199 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 14:48:54 +00:00
Sebastien Brisard
80ddc491f1
Renamed ChiSquareDistributionTest to ChiSquaredDistributionTest for consistency with the name of the actual class being tested.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206062 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 06:20:21 +00:00
Sebastien Brisard
776514240d
Merged ChiSquaredDistribution and ChiSquaredDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206060 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 05:16:56 +00:00
Sebastien Brisard
20d9eb1a5d
Merged CauchyDistribution and CauchyDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206053 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 04:09:05 +00:00
Sebastien Brisard
a0817f428e
Merged BinomialDistribution and BinomialDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1205963 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:37:34 +00:00
Sebastien Brisard
936b937517
Merged BetaDistribution and BetaDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1205739 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 07:07:32 +00:00
Luc Maisonobe
645d642b8f
Improved Dormand-Prince 8(5,3) step interpolator accuracy at step start.
...
The previous step is preserved and if interpolation time is in the first
half ot the step, then interpolation is based on step start, otherwise
is it based on step end. Previously, interpolation was always performed
with respect to step end.
If this trick proves useful, it will be extended to other Runge-Kutta
type step interpolators.
JIRA: MATH-705
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1204270 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:41:46 +00:00
Luc Maisonobe
6d877485ed
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1204269 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:40:43 +00:00
Luc Maisonobe
96e2ae350c
Fixed wrong unicode character.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203682 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 15:01:56 +00:00
Luc Maisonobe
5d699563b1
Fixed BigFraction percentage method which did not work at all.
...
JIRA: MATH-709
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203516 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 07:42:12 +00:00
Gilles Sadowski
9591a91f45
MATH-708.
...
New utility method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203205 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:33:10 +00:00
Gilles Sadowski
e0bf2f8c29
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202926 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 23:10:07 +00:00
Gilles Sadowski
50af1b4d63
Character encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202922 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 23:05:34 +00:00
Gilles Sadowski
1f7ef356d9
Character encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202746 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:45:21 +00:00
Gilles Sadowski
4289e3e4ff
MATH-697
...
Added missing constructors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202186 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 13:35:45 +00:00
Gilles Sadowski
754434a4c0
MATH-697
...
New interface and abstract base class for separate support of unconstrained
and simple bounds constraints optimizers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202140 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 11:47:25 +00:00
Luc Maisonobe
3ad3a1fa41
Fixed a bad interaction between step handlers and event handlers in ODE
...
integrators.
The problem was due to an internal array from the step interpolator that
was changed by the step handlers. These array was expected to contain
the state at event time, but was overridden later on. the solution is
simply to clone the array. Note that the fact the array is reused *is*
documented in the javadoc and is a feature of the interpolators ...
JIRA: MATH-706
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1201105 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 23:39:34 +00:00
Luc Maisonobe
ea13fac876
Added array constructor and getter for Vector2D and Vector3D.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200546 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:03:55 +00:00
Luc Maisonobe
0fd55c7ac3
Added applyTo and applyInverseTo methods in the Rotation class that
...
handle directly arrays instead of Vector3D instances.
Patch provided by Jan Kotek.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200545 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:02:54 +00:00
Luc Maisonobe
bb201d926e
Added adapters for simple bounds constraints optimization.
...
The adapters are useful only for optimizers that do not support simple
bounds constraints by themselves (i.e. Nelder-Mead and Torczon's
multidirectional). Two adapters are available, one performs a mapping
between the whole real range and the bounded range (bounds being set
component wise), and one uses a penalty function.
JIRA: MATH-196
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200516 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:08:55 +00:00
Sebastian Bazley
dadf9a70a0
Simpify exception checking:
...
- use expected @Test attribute
- don't catch and rethrow
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:05:51 +00:00
Sebastian Bazley
3d866e964d
Need to fail if the exception is not generated
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:54:47 +00:00
Sebastian Bazley
e92986db74
Unused
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200393 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:52:30 +00:00
Sebastian Bazley
6c4ee56c3d
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200390 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:47:23 +00:00
Sebastian Bazley
7aefdb81e1
Unnecessary casts; document unused field
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200384 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:43:02 +00:00
Sebastian Bazley
7774fb6ffb
Use asserNotNull(var) instead of if (var != null) and avoid subsequent NPE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200365 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:07:47 +00:00
Sebastian Bazley
f2c22d1d36
Use asserNotNull(var) instead of assertTrue(var != null) and avoid subsequent NPE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:01:32 +00:00
Sebastian Bazley
416084f964
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200358 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:58:57 +00:00
Sebastian Bazley
913bc812d3
Unused
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200354 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:54:20 +00:00
Sebastian Bazley
914be00ae2
Add missing serialVersionUId
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200351 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:47:07 +00:00
Sebastian Bazley
19ad2142b6
Unnecessary casts - angbd is double, so ensures the rest of the calculation uses double
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200350 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:43:44 +00:00
Sebastien Brisard
710b276e47
Removed illegal @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200334 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:11:06 +00:00