On 29 January 2011 23:38,  <er...@apache.org> wrote:
> Author: erans
> Date: Sat Jan 29 23:38:39 2011
> New Revision: 1065146
>
> URL: http://svn.apache.org/viewvc?rev=1065146&view=rev
> Log:
> MATH-503
> Added sigmoid and generalized logistic functions.
>
> Added:
>    
> commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java
>    (with props)
>    
> commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Sigmoid.java
>    (with props)
>    
> commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/
>    
> commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/LogisticTest.java
>    (with props)
>    
> commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/function/SigmoidTest.java
>    (with props)
>
> Added: 
> 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=1065146&view=auto
> ==============================================================================
> --- 
> commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java
>  (added)
> +++ 
> commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/function/Logistic.java
>  Sat Jan 29 23:38:39 2011
> @@ -0,0 +1,78 @@
> +/*
> + * Licensed to the Apache Software Foundation (ASF) under one or more
> + * contributor license agreements.  See the NOTICE file distributed with
> + * this work for additional information regarding copyright ownership.
> + * The ASF licenses this file to You under the Apache License, Version 2.0
> + * (the "License"); you may not use this file except in compliance with
> + * the License.  You may obtain a copy of the License at
> + *
> + *      http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing, software
> + * distributed under the License is distributed on an "AS IS" BASIS,
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + * See the License for the specific language governing permissions and
> + * limitations under the License.
> + */
> +
> +package org.apache.commons.math.analysis.function;
> +
> +import org.apache.commons.math.analysis.UnivariateRealFunction;
> +import org.apache.commons.math.exception.NotStrictlyPositiveException;
> +import org.apache.commons.math.util.FastMath;
> +
> +/**
> + * <a href="http://en.wikipedia.org/wiki/Generalised_logistic_function";>
> + *  Generalised logistic</a> function.
> + *
> + * @version $Revision$ $Date$

$Date$ is Locale-specific, so causes problems when comparing source
code with SVN.

$Id$ is OK because it uses UTC, but it also includes the file name and
last user id, so is fairly long.

$Revision$ should be sufficient in general.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to