Phil Steitz
e84687da98
Fixed error in javadoc describing the behavior of the Percentile algorithm
...
for small percentiles in small datasets.
JIRA: MATH-582
Reported by Andre Herbst
Patched by Christopher Nix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134802 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 22:28:52 +00:00
Gilles Sadowski
58d1885283
MATH-485
...
New "filter" package. Initial implementation of Kalman filter provided
by Thomas Neidhart.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134779 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 21:39:26 +00:00
Luc Maisonobe
6e9f1d3945
fixed unused variable warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132471 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 18:24:04 +00:00
Luc Maisonobe
e00a9b226f
Improved k-means++ clustering performances and initial cluster center choice.
...
JIRA: MATH-584
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 16:27:53 +00:00
Luc Maisonobe
9dfd54ef0f
Fixed tricube function implementation in Loess interpolation.
...
JIRA: MATH-504
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132439 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:59:26 +00:00
Luc Maisonobe
54f921553b
Fixed documentation of statistics examples.
...
JIRA: MATH-568
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132437 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:41:50 +00:00
Luc Maisonobe
3f6016591a
Improved documentation of general optimization with a thorough example.
...
JIRA: MATH-507
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132435 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:22:31 +00:00
Luc Maisonobe
62a313f67d
Replaced NullPointerException by NullArgumentException
...
JIRA: MATH-403
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132432 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 14:59:29 +00:00
Luc Maisonobe
a4e6f75c86
replaced @version tag by $Id$
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131229 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 20:49:25 +00:00
Luc Maisonobe
8a5f904b36
fixed javadoc, checkstyle and findbugs warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131153 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:23:56 +00:00
Luc Maisonobe
356a99a7bb
added missing methods in Vector1D/2D/3D
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131152 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:22:20 +00:00
Luc Maisonobe
540bf1525f
use the reorganized Binary Space Partitioning framework for Euclidean spaces 1D, 2D and 3D.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131127 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 18:08:12 +00:00
Luc Maisonobe
6a14866cfc
Improved type safety for Binary Space Partitioning and reduced complexity,
...
using generics where it was relevant and reorganizing interfaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131125 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 18:06:21 +00:00
Luc Maisonobe
a31933b64a
Added a consistent classes hierarchy for Euclidean spaces in dimension 1, 2 and 3
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 18:02:48 +00:00
Phil Steitz
6b3df11f0d
Updated trunk to reflect 2.2 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1129833 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 18:15:01 +00:00
Phil Steitz
4f63173306
Javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1128976 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 23:18:17 +00:00
Luc Maisonobe
5ce6c97bcc
added a method to retrieve the closest point from a line to the origin.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124652 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 09:59:49 +00:00
Luc Maisonobe
c70f393f4a
renamed packages oneD, twoD and threeD into oned, twod and threed
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124619 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 09:12:48 +00:00
Luc Maisonobe
07ecb4d65a
fixed typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124398 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 19:55:30 +00:00
Luc Maisonobe
5cf31cb6d5
improved javadoc as per Gilles's suggestions on the dev list.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124191 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 11:15:24 +00:00
Luc Maisonobe
0a853fd5a7
improved javadoc for FastMath.
...
JIRA: MATH-579
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124151 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 09:48:24 +00:00
Gilles Sadowski
dbb142bc5a
MATH-574
...
Fixed Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1104600 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 22:19:54 +00:00
Gilles Sadowski
695dc3bdcc
MATH-574
...
Allow outer product of vectors of different sizes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1104575 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 21:38:45 +00:00
Gilles Sadowski
987f659a12
MATH-574
...
Allow outer product of vectors of different sizes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103716 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 12:30:15 +00:00
Gilles Sadowski
541527bdf3
Removed unnecessary exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103710 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 12:13:51 +00:00
Gilles Sadowski
7e3ad29257
Added "@Retry".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103707 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 12:01:11 +00:00
Luc Maisonobe
03fa7c1431
A complete generic implementation of Binary Space Partitioning Trees (BSP trees)
...
has been added. A few specializations of this implementation are also provided
for 1D, 2D and 3D Euclidean geometry. This allows support for arbitrary
intervals sets (1D), polygons sets (2D) and polyhedrons sets (3D) with all
sets operations (union, intersection, symmetric difference, difference, complement),
with predicates (point inside/outside/on boundary, emptiness, other region contained),
with geometrical computation (barycenter, size, boundary size) and with conversions
from and to boundary representation.
JIRA: MATH-576
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103438 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 16:02:05 +00:00
Luc Maisonobe
e401d4ac06
add a retry feature for randomly failing CMA-ES optimizer test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103418 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 15:00:33 +00:00
Luc Maisonobe
e12caa8de1
specify the field to use for field vectors and field matrices when possible
...
JIRA: MATH-573
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103370 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 13:16:29 +00:00
Phil Steitz
026fb14740
Improved javadoc and added infinite/NaN argument tests for reduce.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103182 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 18:51:26 +00:00
Phil Steitz
3424131d52
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 16:04:46 +00:00
Gilles Sadowski
ee37a5197c
MATH-574
...
Allow outer product of vectors of different sizes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1102704 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 13:03:30 +00:00
Gilles Sadowski
b8243cc166
MATH-574
...
Allow outer product for vectors of different sizes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1102356 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 15:49:40 +00:00
Gilles Sadowski
716a7bb2df
Class "RandomAdaptorTest" needlessly inherited from "RandomDataTest".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1102229 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 10:07:19 +00:00
Luc Maisonobe
45ec0d393f
Added field parameter on various constructors in Array2DRowFieldMatrix.
...
JIRA: MATH-573
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1102057 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 19:57:42 +00:00
Luc Maisonobe
35d78323b2
Avoid some remaining array copying in ArrayFieldVector, AbstractFieldMAtrix and AbstractRealMatrix.
...
JIRA: MATH-573
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1101763 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 06:57:47 +00:00
Luc Maisonobe
8ef3dd0269
Avoid some array copying in add and subtract ArrayFieldVector.
...
JIRA: MATH-573
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1101579 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:19:36 +00:00
Luc Maisonobe
d84695d151
Fixed an unused constructor parameter in ArrayFieldVector.
...
JIRA: MATH-572
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1101575 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:09:07 +00:00
Gilles Sadowski
c7f092e022
MATH-566
...
Changed all exception classes to use the new "ExceptionContext".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1101029 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 13:54:34 +00:00
Luc Maisonobe
ec6dbad43a
Fixed conversion problems to/from 0 in Decimal Floating Point (Dfp) class.
...
JIRA: MATH-567
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1099938 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 19:41:28 +00:00
Gilles Sadowski
1df5ae529c
MATH-566
...
Created "ExceptionContext" class.
Made "MathIllegalArgumentException" inherit from the Java standard
"IllegalArgumentException".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1099771 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 12:37:31 +00:00
Phil Steitz
ec198897ee
Reuse is one word :).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097918 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 19:08:09 +00:00
Luc Maisonobe
556576e645
Fixed initialization of multistep ODE integrators. Relying on the interpolation model of the starter integrator inside only one step was wrong. The model may have a too low order to compute high degrees derivatives in the Nordsieck vector. Now we use several steps and use only grid points instead of interpolated points.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097891 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 17:15:59 +00:00
Luc Maisonobe
1047f93f68
Added solve methods using double[][] to linear algebra decomposition solvers.
...
JIRA: MATH-564
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097730 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 08:48:38 +00:00
Gilles Sadowski
40daf0a0d5
Doc fix (description of release 2.2 was missing).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 15:23:34 +00:00
Gilles Sadowski
8af698213b
Doc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097462 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 13:53:23 +00:00
Gilles Sadowski
dcfb76fa00
MATH-562
...
Interpolator adapter for periodic data.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097426 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 11:57:11 +00:00
Gilles Sadowski
2340a5e94c
Added "@Retry" annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097418 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 11:23:06 +00:00
Gilles Sadowski
3dff269818
Javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097399 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 10:27:00 +00:00
Gilles Sadowski
54bdd4a006
Unused (except in Javadoc) "import".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097384 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:41:42 +00:00