On 31 January 2011 13:48, <er...@apache.org> wrote: > Author: erans > Date: Mon Jan 31 13:48:50 2011 > New Revision: 1065614 > > URL: http://svn.apache.org/viewvc?rev=1065614&view=rev > Log: > Javadoc update. > > Modified: > > commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java > > Modified: > commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java > URL: > http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java?rev=1065614&r1=1065613&r2=1065614&view=diff > ============================================================================== > --- > commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java > (original) > +++ > commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java > Mon Jan 31 13:48:50 2011 > @@ -43,12 +43,14 @@ public class Logistic implements Univari > private final double m; > > /** > - * @param k Upper asymptote. > + * @param k If {@code b > 0}, value of the function for x going towards > +∞. > + * If {@code b < 0}, value of the function for x going towards -∞. > * @param m Abscissa of maximum growth. > * @param b Growth rate. > * @param q Parameter that affects the position of the curve along the > * ordinate axis. > - * @param a Lower asymptote. > + * @param a If {@code b > 0}, value of the function for x going towards > -∞. > + * If {@code b < 0}, value of the function for x going towards +∞. > * @param n Parameter that affects near which asymptote the maximum > * growth occurs. > * @throws NotStrictlyPositiveException if {@code n <= 0}. > @@ -73,6 +75,6 @@ public class Logistic implements Univari > > /** {@inheritDoc} */ > public double value(double x) { > - return a + (k - a) / FastMath.pow((1 + q * FastMath.exp(b * (m - > x))), 1 / n); > + return a + (k - a) / FastMath.pow(1 + q * FastMath.exp(b * (m - x)), > 1 / n);
That does not look like Javadoc. > } > } > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org