org.lsmp.djep.djep.diffRules
Class MacroFunctionDiffRules

java.lang.Object
  extended by org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
      extended by org.lsmp.djep.djep.diffRules.MacroFunctionDiffRules
All Implemented Interfaces:
DiffRulesI

public class MacroFunctionDiffRules
extends ChainRuleDiffRules

If your really lazy, you don't even need to workout the derivatives of a function defined by a macro yourself. This class will automatically calculate the rules for you.


Field Summary
 
Fields inherited from class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
name, pfmc, rules
 
Constructor Summary
MacroFunctionDiffRules(DJep djep, MacroFunction fun)
          Calculates the rules for the given function.
 
Method Summary
 
Methods inherited from class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
differentiate, getName, getNumRules, getPfmc, getRule, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacroFunctionDiffRules

public MacroFunctionDiffRules(DJep djep,
                              MacroFunction fun)
                       throws ParseException
Calculates the rules for the given function.

Throws:
ParseException


http://www.singularsys.com/jep Copyright © 2007 Singular Systems