NAME
Math::Symbolic::Derivative - Derive Math::symbolic trees
SYNOPSIS
use Math::Symbolic::Derivative qw/:all/;
$derived = partial_derivative($term, $variable);
DESCRIPTION
Derivatives for Math::Symbolic.
EXPORT
None by default. But you may choose to import the total_derivative() and partial_derivative() functions.
CLASS DATA
The package variable %Partial_Rules contains partial derivative rules as key-value pairs of names and subroutines.
SUBROUTINES
partial_derivative
Takes a Math::Symbolic tree and a Math::Symbolic::Variable as argument. third argument is an optional boolean indicating whether or not the tree has to be cloned before being derived. If it is true, the subroutine happily stomps on any code that might rely on any components of the Math::Symbolic tree that was passed to the sub as first argument.
total_derivative
Total derivatives are not yet implemented because there is no need for total derivatives if there are no variables that represent algebraic terms themselves. (Which aren't implemented either.)
AUTHOR
Steffen Mueller, <symbolic-module at steffen-mueller dot net>
New versions of this module can be found on http://steffen-mueller.net or CPAN.