Dimitri Pourbaix
19f58cfa37
MATH-406 corrected
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@985589 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 21:59:07 +00:00
Dimitri Pourbaix
6b4085c327
MathUtils.safeNorm (translation of enorm.f from Minpack) added
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@984453 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 15:55:14 +00:00
Dimitri Pourbaix
784e4f69ec
MATH-405 corrected
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@984404 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 13:40:39 +00:00
Gilles Sadowski
31fef8fab1
Minor clean-up (to avoid changing a method arguments in-place).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@983968 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:45:10 +00:00
Gilles Sadowski
d2fd025403
Moved "Localizable", "DummyLocalizable" and "LocalizedFormats" from
...
package "exception" to package "exception.util". Modified "import"
statements in all affected files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@983921 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 10:46:06 +00:00
Gilles Sadowski
c15e80eba9
MATH-401
...
Created "NullArgumentException" (subclass of "MathIllegalArgumentException").
Changed all occurrences of "createIllegalArgumentException" (in "MathRuntime")
to throw the new exception whenever a "null" is not allowed. Added a few
checks for null in "BigFraction.java".
Simplified "LocalizedFormats" enum.
Changed "ZeroNotAllowedException" to "ZeroException".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@982950 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 13:29:01 +00:00
Gilles Sadowski
d402f6b5e1
"PowellOptimizer": Added a constructor for setting of the absolute tolerance,
...
removed one redundant function evaluation.
Line search relative tolerance explicitly set in the optimizer instance
created in "PowellOptimizerTest".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@982639 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 14:26:13 +00:00
Gilles Sadowski
173735d2df
Moved exception utilities to package "exception.util". Created
...
"MathUnsupportedOperationException". Replaced factory method
"createUnsupportedOperationException" occurences by an explicit
construction of a "MathUnsupportedOperationException".
Corrected a bug (in "AbstractRealVector") where a "dimension"
was stored in a "double". Replaced a "createIllegalArgumentException"
by a "DimensionMismatchException".
Removed checks for "null" in "BigFraction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@982526 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 09:51:48 +00:00
Dimitri Pourbaix
c640932de2
MATH-377 fixed
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@982507 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 08:48:00 +00:00
Luc Maisonobe
b3777d116e
simplified javadoc wording
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981416 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 08:36:08 +00:00
Luc Maisonobe
6c99076d1e
Moved the localization framework used for exceptions in the exceptions package.
...
Its former place (in the utils package) was misleading as utils is rather for
numerical utilities, not low level library management
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981404 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 08:10:39 +00:00
Gilles Sadowski
e58f83acb8
Created enum "OrderDirection" in "MathUtils" (instead of the existing
...
"Direction" enum enclosed in an "Order" class). Changed affected files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981347 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 23:38:06 +00:00
Phil Steitz
f215f96be0
Fixed javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981332 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 22:24:31 +00:00
Luc Maisonobe
c64ed9d119
fixed import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981258 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:17:55 +00:00
Luc Maisonobe
82970077ae
removed duplicate strings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981257 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:15:54 +00:00
Luc Maisonobe
dd81f436e8
removed duplicate strings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:14:11 +00:00
Luc Maisonobe
9a8bd27fe5
improved error messages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981254 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:09:56 +00:00
Luc Maisonobe
df328dbd46
removed duplicate strings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981248 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:36:10 +00:00
Luc Maisonobe
59a4edb84d
added a getMessage(final Locale locale) to class MathIllegalArgumentException
...
similar to the ones from MathException and MathRuntimeException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981247 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:35:33 +00:00
Luc Maisonobe
972ab8b3b2
Added a localized UnsupportedOperationException
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981244 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:27:20 +00:00
Luc Maisonobe
2431890261
deprecated an old style exception that was forgotten
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981243 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:16:54 +00:00
Luc Maisonobe
accccd996a
fixed another bunch of checkstyle warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:01:30 +00:00
Luc Maisonobe
e24bdc331c
fixed numerous checkstyle warnings (javadoc, trailing spaces, tabs, parenthesis, declaration order ...)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 22:03:04 +00:00
Luc Maisonobe
a48186437b
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980944 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:31:11 +00:00
Luc Maisonobe
3fac04e842
added missing SerialVersionId
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980942 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:28:06 +00:00
Luc Maisonobe
d9e60241d2
Added support for Gaussian curve fitting
...
JIRA: MATH-400
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980938 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:16:18 +00:00
Luc Maisonobe
7adf364d60
fixed javadoc error
...
JIRA: MATH-399
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980544 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 19:23:46 +00:00
Luc Maisonobe
97ab3822cc
removed reference to Java 1.6 Math.nextUp method
...
JIRA: MATH-398
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980154 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 18:47:28 +00:00
Gilles Sadowski
6d6d96df69
Removed "println" statements.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980047 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 13:21:17 +00:00
Gilles Sadowski
58c6028e21
MATH-396
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980039 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 12:48:48 +00:00
Gilles Sadowski
962315ba93
MATH-395: Another bug uncovered; all things being equal, the code now behaves
...
like the Puthon implementation.
MATH-397: Modified "BrentOptimizer" following the changes in
"AbstractUnivariateRealOptimizer".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980032 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 12:03:41 +00:00
Gilles Sadowski
7572385a7e
MATH-397. Modified "AbstractUnivariateRealOptimizer" so that its usage is
...
more similar to what is done in package "optimization.general".
Deprecated many methods as a consequence of the new layout.
New utility methods in "ConvergingAlgorithmImpl".
Temporary workaround in "BrentOptimizer" (requirement from base class) to
avoid committing two issues at the same time...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980013 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 10:27:02 +00:00
Gilles Sadowski
c917b3b3fa
MATH-396.
...
Introducing "PowellOptimizer" which uses "BracketFinder".
"PowellOptimizerTest" uses "SumSincFunction" which uses "SincFunction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979460 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:47:32 +00:00
Gilles Sadowski
e0723d16df
Corrected typos in some Javadoc comments.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979458 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:45:26 +00:00
Luc Maisonobe
1bc1ca5843
fixed an import generating a compilation error
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 18:25:19 +00:00
Gilles Sadowski
58f407fc8a
Fixed bugs in "BrentOptimizer".
...
Renamed "BrentMinimizerTest" to "BrentOptimizerTest".
Modified "MultiStartUnivariateRealOptimizerTest" because it uses
"BrentOptimizer" as the underlying optimizer, and so was affected
by the changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979257 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:17:45 +00:00
Gilles Sadowski
d4b02f6a3a
MATH-393
...
Fixed inconsistent definition of "getResult". Modified associated test accordingly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979032 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 12:29:43 +00:00
Gilles Sadowski
1a637a4458
MATH-389
...
Duplicate code in "MultivariateRealOptimizer" and
"DifferentiableMultivariateRealOptimizer" moved to new interface
"BaseMultivariateRealOptimizer".
New "AbstractScalarOptimizer" superclass allow implementations that do not
use derivatives.
Deprecated "protected" fields.
"NonLinearConjugateGradientOptimizer" changed to make use of the newly
added accessors instead of the "protected" fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@967288 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 22:35:09 +00:00
Luc Maisonobe
92f005ad13
Added a feature allowing error estimation to be computed only on a subset of
...
Ordinary Differential Equations, considered as the main set, the remaining equations
being considered only as an extension set that should not influence the ODE integration
algorithm
JIRA: MATH-388
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@967007 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 08:59:37 +00:00
Gilles Sadowski
730e17083e
MATH-387: Allow "null" array arguments in "RealPointValuePair" and
...
"VectorialPointValuePair" constructors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@965509 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 14:51:24 +00:00
Gilles Sadowski
968c4a2cf4
MATH-361
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962702 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 21:40:19 +00:00
Gilles Sadowski
e038fdb1cc
MATH-361
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962515 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 13:15:28 +00:00
Gilles Sadowski
b5a23d01b6
MATH-361
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962306 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 23:45:06 +00:00
Gilles Sadowski
45f683a436
MATH-361
...
MATH-382
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@960602 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 14:10:10 +00:00
Gilles Sadowski
cab4f49339
MATH-361
...
Added new exceptions. Replaced several instances of "IllegalArgumentException"
with a more specific exception.
For not yet released code, removed the checked "DimensionMismatchException"
from the method signature and replaced its instances with the new (unchecked)
version of the exception.
Corrected typos in Javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@959634 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 12:30:43 +00:00
Gilles Sadowski
10299cdde5
MATH-379
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@958552 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:09:02 +00:00
Gilles Sadowski
f6fd043072
MATH-361.
...
Added a check to avoid triggering a "NullPointerException" if the argument
list is "null".
Added unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@958551 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:01:35 +00:00
Gilles Sadowski
4102ba5dfb
MATH-361
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957930 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:00:41 +00:00
Gilles Sadowski
66df76d89a
MATH-361
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957518 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 12:09:14 +00:00
Luc Maisonobe
e2d957da2f
override resources configuration from parent-pom, as they prevented the default copying of src/main/resources to occur
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 23:02:46 +00:00