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

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

public class Atan2Transformer2
extends Object
implements MathInvocationTransformer

Differentiation transformer for the atan2 function invocation instructions.


Field Summary
 
Fields inherited from interface org.apache.commons.nabla.algorithmic.forward.functions.MathInvocationTransformer
D_RETURN_D_DESCRIPTOR, DD_RETURN_D_DESCRIPTOR
 
Constructor Summary
Atan2Transformer2()
           
 
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

Atan2Transformer2

public Atan2Transformer2()
Method Detail

getReplacementList

public org.objectweb.asm.tree.InsnList getReplacementList(String owner,
                                                          MethodDifferentiator methodDifferentiator)
                                                   throws DifferentiationException
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
Throws:
DifferentiationException - if the method differentiator cannot provide a temporary variable


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