org.apache.commons.nabla.algorithmic.forward.functions
Class AtanhTransformer

java.lang.Object
  extended by org.apache.commons.nabla.algorithmic.forward.functions.AtanhTransformer
All Implemented Interfaces:
MathInvocationTransformer

public class AtanhTransformer
extends Object
implements MathInvocationTransformer

Differentiation transformer for the atanh function invocation instructions.

As of java 6, the JVM does not supply an inverse hyperbolic tangent function (see bug 4919337), so this generator will not be triggered for java 6 and below.


Field Summary
 
Fields inherited from interface org.apache.commons.nabla.algorithmic.forward.functions.MathInvocationTransformer
D_RETURN_D_DESCRIPTOR, DD_RETURN_D_DESCRIPTOR
 
Constructor Summary
AtanhTransformer()
           
 
Method Summary
 org.objectweb.asm.tree.InsnList getReplacementList(String owner, MethodDifferentiator methodDifferentiator)
          Get the replacement list for an invocation instruction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtanhTransformer

public AtanhTransformer()
Method Detail

getReplacementList

public org.objectweb.asm.tree.InsnList getReplacementList(String owner,
                                                          MethodDifferentiator methodDifferentiator)
Get the replacement list for an invocation instruction.

Specified by:
getReplacementList in interface MathInvocationTransformer
Parameters:
owner - owner of the method (typically Math or StrictMath)
methodDifferentiator - method differentiator driving this transformer
Returns:
replacement list


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.