commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <>
Subject Re: svn commit: r979257 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/optimization/univariate/ site/xdoc/ test/java/org/apache/commons/math/analysis/ test/java/org/apache/commons/math/optimization/ test/java/org/apache/commons/math...
Date Mon, 26 Jul 2010 20:38:54 GMT
> >   * Implements Richard Brent's algorithm (from his book "Algorithms for
> >   * Minimization without Derivatives", p. 79) for finding minima of real
> > - * univariate functions.
> > + * univariate functions. This implementation is an adaptation partly
> > + * based on the Python code from SciPy (module "" v0.5).
> If the implementation is partly based on SciPy, there must be a
> reference to it in the NOTICE file. It is *really* important to be very
> careful about the origin of our code and to check the license terms.
> Fortunately, SciPy license is published under the terms of the BSD
> license, which is compatible with Apache Software License.

The Python implementation is no more original than the Java one as it is
obviously similarly based on the algorithm description in Brent's book. Its
main advantage is that it works whereas my original translation (introduced
in 2.0) contained several bugs. The notice in the Javadoc was to acknowledge
that I used the Python implementation in order to figure out where the
mistakes were in my implementation.

Now, for Powell's algorithm, which I'm going to introduce in CM (MATH-396),
the Python code is really the only reference; thus I'll indicate it in the
"NOTICE.txt" file.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message