Commit Graph

60 Commits

Author SHA1 Message Date
Luc Maisonobe 3f68627209 Avoid a false positive findbugs warning.
Findbugs is confused by constant 1.570796251296997 which is a
intentionally slightly offset from PI/2 as per Cody Waite arguments
reduction.
2015-11-03 10:45:35 +01:00
Luc Maisonobe 93f8d0e237 Avoid a false positive findbugs warning.
The source code tests an angle using "angle > (FastMath.PI - 1.0e-10)".
As the compiler does the subtraction of the constants directly, findbugs
complains about a "Rough value of Math.PI found: 3.141592653489793".
2015-11-03 10:34:38 +01:00
Thomas Neidhart b4669aad3f Remove deprecated optimization package. 2015-02-25 22:34:53 +01:00
tn 2c94388179 Remove deprecated stat.clustering package. 2015-02-19 09:25:46 +01:00
Thomas Neidhart e4e1ac23c7 Update for next development iteration: commons-math4 2015-02-16 23:37:23 +01:00
Phil Steitz f80f577748 Added Bessel functions of the first kind, based on NetLib implementation.
JIRA: MATH-1066
Based on patch provided by Brian Wignall
2014-12-15 13:48:07 -07:00
Luc Maisonobe 49b2b9898e Added findbugs exception for CMAES.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591212 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:21:15 +00:00
Gilles Sadowski aad194a346 MATH-923
Implementation of Kohonen's Self-Organizing Feature Map (SOFM).
New package "o.a.c.m.ml.neuralnet" contains base functionality for implementing
different map types, i.e. methods that project a high-dimensional space onto one
with a low dimension (typically 1D or 2D).
The SOFM-specific code is in "o.a.c.m.ml.neuralnet.sofm".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557267 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 22:01:27 +00:00
Sebastian Bazley 99db22a8df Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499813 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:24:47 +00:00
Luc Maisonobe 81841e834f Fixe findbugs false positive.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462505 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:49:22 +00:00
Thomas Neidhart 7beb54f57c Added findbugs exlude filter for new DoublePoint class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461880 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:19:10 +00:00
Thomas Neidhart e7a8a26185 Add exclude filters for false-positive: serialization is handled by an inner class via readResolve.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454856 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 14:39:21 +00:00
Luc Maisonobe fde2416fe3 Fixed false positive findbugs warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454462 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 16:57:28 +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
Thomas Neidhart 1db324482c Added findbugs exclude filter for class copied to the new optim package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421434 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:18:55 +00:00
Thomas Neidhart e3d419b8ec Add exclusion filter for new EuclideanDoublePoint.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416233 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 18:55:25 +00:00
Thomas Neidhart f91ffbac36 Add findbugs exception for RealVector#equals method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1386794 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 19:54:33 +00:00
Gilles Sadowski 23a6bab0c8 MATH-746
Disabled a "FindBugs" check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292270 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:05:25 +00:00
Gilles Sadowski 7cc598eeb5 MATH-746
Disabled a "FindBugs" check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292245 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:41:59 +00:00
Thomas Neidhart a1a3b8bc2e Updated findbugs-exclude-list due to renamed classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245178 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:14:15 +00:00
Thomas Neidhart ab65490f56 Updated findbugs exclude filter, deleted references to removed classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244674 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 19:44:08 +00:00
Gilles Sadowski 696be68b5d MATH-444
Base package name change: "o.a.c.math" -> "o.a.c.math3"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244107 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:17:55 +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 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 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 4676568449 updated findbugs exceptions after 3.0 API changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1085980 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27 16:30:50 +00:00
Phil Steitz 73d52a51f8 Added filter for spurious dead store warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054344 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 02:56:35 +00:00
Luc Maisonobe 1b238344cd Improved Percentile performance by using a selection algorithm instead of a
complete sort, and by allowing caching data array and pivots when several
different percentiles are desired
JIRA: MATH-417

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1006301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 14:50:56 +00:00
Luc Maisonobe 18f77ee26c updated a findbugs filter after a method signature change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@992597 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 13:18:30 +00:00
Luc Maisonobe 0ec92a0fc2 added FastMath and used it everywhere in replacement of java.util.Math
the unit tests have not been added yet (waiting for dfp library addition)
JIRA: MATH-375

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@990658 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 22:04:09 +00:00
Luc Maisonobe 70586e476e fixed findbugs errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@919855 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 21:30:37 +00:00
Luc Maisonobe a579b0d8bd updated an exclusion filter for findbugs after recent changes in eigen decomposition
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@917280 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 19:55:07 +00:00
Luc Maisonobe 90f6eba156 fixed findbugs false positive
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@830772 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 21:54:13 +00:00
Luc Maisonobe 3838e1fceb fixed an exclusion rule after an API change some time ago
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795590 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:35:43 +00:00
Luc Maisonobe 26281773d8 added an exclusion rule for a false positive from findbugs concerning a desired and documented feature
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791745 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:57:37 +00:00
Luc Maisonobe 121f832ef9 fixed another set of warnings identified by recent findbugs versions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790368 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:31:50 +00:00
Luc Maisonobe 63d0a79ce2 fixed a number of warnings identified by findbugs eclipse plugin version 1.3.9
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790243 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:03:28 +00:00
Luc Maisonobe c5f6dff523 added Loess interpolator, applying Eugene Kirpichov's patch
JIRA: MATH-278

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786819 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:42:56 +00:00
Luc Maisonobe 136d06b2b3 added back findbugs exclusion rules for a deprecated class that is still there under its old name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786482 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:38:01 +00:00
Luc Maisonobe 30ab6c8c3d renamed RealMatrixImpl, RealVectorImpl, FieldMatrixImpl and FieldVectorImpl
into Array2DRowRealMatrix, ArrayRealVector, Array2DRowFieldMatrix and ArrayFieldVector
as suggested by Sam in http://markmail.org/message/hh37ivxpzaoapekj

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783702 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:54:02 +00:00
Luc Maisonobe 37ee8dbfe6 renamed Dense{Real/Field}Matrix into Block{Real/Field}Matrix
as suggested by Phil in http://markmail.org/message/iibgiz4bsv6hjjvh

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783678 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:05:24 +00:00
Luc Maisonobe 3442dcd54a updated filter after replacement of MultistepStepInterpolator by NordsieckStepInterpolator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780643 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:21:03 +00:00
Phil Steitz bcccc34cba Added rank transformations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776311 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 13:31:34 +00:00
Luc Maisonobe ecaeaadb71 fixed various checkstyle and findbugs errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771076 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:28:48 +00:00
Luc Maisonobe 2d343b1a30 added support for any kind of field in linear algebra
we can now use FieldMatrix<Fraction> and use exact LU-decomposition
on such matrices to solve linear systems

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766485 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 16:39:40 +00:00
Luc Maisonobe 28738e0405 fixed findbugs warnings and added more explanation about the corresponding behavior in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762136 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 19:10:44 +00:00
Luc Maisonobe b2db570b31 fixed checkstyle and findbugs errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:00:27 +00:00
Luc Maisonobe 96db008f3b improved consistency in class naming with respect to functions in the analysis package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758060 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:17:13 +00:00
Luc Maisonobe 39647f7f30 fixed checkstyle and findbugs errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@754765 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:35:38 +00:00
Luc Maisonobe 27c1eb726a updated optimization main interfaces to handle scalar and vectorial functions
and to handle functions with or without explicit derivatives

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@754499 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 17:35:49 +00:00