aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-Symbolic-Custom-Simplification/pkg-descr
blob: ce7fc72444e45bc7aba174bf4fc10e151db541f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This module is an extension to the Math::Symbolic module. A basic
familiarity with that module is required.

Math::Symbolic offers some builtin simplification routines. These,
however, are not capable of complex simplifications. This extension offers
facilities to override the default simplification routines through means
of subclassing this module. A subclass of this module is required to
define a simplify object method that implements a simplification of
Math::Symbolic trees.

There are two class methods to inherit: register and unregister. Calling
the register method on your subclass registers your class as providing the
simplify method that is invoked whenever simplify() is called on a
Math::Symbolic::Operator object.

Calling unregister on your subclass restores whichever simplification
routines where in place before.

WWW: https://metacpan.org/release/Math-Symbolic-Custom-Simplification