commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r803467 - /commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java
Date Wed, 12 Aug 2009 12:07:22 GMT
Author: luc
Date: Wed Aug 12 12:07:22 2009
New Revision: 803467

URL: http://svn.apache.org/viewvc?rev=803467&view=rev
Log:
minor javadoc and whitespace changes

Modified:
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java?rev=803467&r1=803466&r2=803467&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/algorithmic/forward/ForwardAlgorithmicDifferentiator.java
Wed Aug 12 12:07:22 2009
@@ -33,7 +33,7 @@
 import org.objectweb.asm.ClassReader;
 import org.objectweb.asm.ClassWriter;
 
-/** Automatic differentiator class based on bytecode analysis.
+/** Algorithmic differentiator class in forward mode based on bytecode analysis.
  * <p>This class is an implementation of the {@link UnivariateDifferentiator}
  * interface that computes <em>exact</em> differentials completely automatically
  * and generate java classes and instances that compute the differential
@@ -74,7 +74,7 @@
      * <p>At construction, the differentiator considers only the {@link
      * java.lang.Math Math} and {@link java.lang.StrictMath StrictMath}
      * classes are math implementation classes. It may be useful to add
-     * other class for example to add some missing functions like
+     * other classes for example to add some missing functions like
      * inverse hyperbolic cosine that are not provided by the standard
      * java classes as of Java 1.6.</p>
      * @param mathClass implementation class for mathematical functions
@@ -139,7 +139,8 @@
 
         // build the derivative class if it does not exist yet
         if (derivativeClass == null) {
-            // perform analytical differentiation
+
+            // perform algorithmic differentiation
             derivativeClass = createDerivativeClass(differentiableClass);
 
             // put the newly created class in the map
@@ -178,7 +179,7 @@
 
         } catch (IOException ioe) {
             throw new DifferentiationException("class {0} cannot be read ({1})",
-                                          differentiableClass.getName(), ioe.getMessage());
+                                               differentiableClass.getName(), ioe.getMessage());
         }
     }
 



Mime
View raw message