1Math::Symbolic::Custom:U:sDeerfaCuolnttMroidbsu(t3e)d PeMralthD:o:cSuymmebnotlaitci:o:nCustom::DefaultMods(3)
2
3
4

NAME

6       Math::Symbolic::Custom::DefaultMods - Default Math::Symbolic transfor‐
7       mations
8

SYNOPSIS

10         use Math::Symbolic;
11

DESCRIPTION

13       This is a class of default transformations for Math::Symbolic trees.
14       Likewise, Math::Symbolic::Custom::DefaultTests defines default tree
15       testing routines.  For details on how the custom method delegation
16       model works, please have a look at the Math::Symbolic::Custom and
17       Math::Symbolic::Custom::Base classes.
18
19       EXPORT
20
21       Please see the docs for Math::Symbolic::Custom::Base for details, but
22       you should not try to use the standard Exporter semantics with this
23       class.
24

SUBROUTINES

26       apply_derivatives()
27
28       Never modifies the tree in-place, but returns a modified copy of the
29       original tree instead.
30
31       Applied to variables and constants, this method just clones.
32
33       Applied to operators and if the operator is a derivative, this applies
34       the derivative to the derivative's first operand.
35
36       Regardless what kind of operator this is called on, apply_derivatives
37       will be applied recursively on its operands.
38
39       If the first parameter to this function is an integer, at maximum that
40       number of derivatives are applied (from top down the tree if possible).
41
42       apply_constant_fold()
43
44       Does not modify the tree in-place by default, but returns a modified
45       copy of the original tree instead. If the first argument is true, the
46       tree will not be cloned. If it is false or not existant, the tree will
47       be cloned.
48
49       Applied to variables and constants, this method just clones.
50
51       Applied to operators, all tree segments that contain constants and
52       operators only will be replaced with Constant objects.
53
54       mod_add_constant
55
56       Given a constant (object or number) as argument, this method tries hard
57       to fold it into an existing constant of the object this is called on is
58       already a sum or a difference.
59
60       Basically, this is the same as "$tree + $constant" but does some sim‐
61       plification.
62
63       mod_multiply_constant
64
65       Given a constant (object or number) as argument, this method tries hard
66       to fold it into an existing constant of the object this is called on is
67       already a product or a division.
68
69       Basically, this is the same as "$tree * $constant" but does some sim‐
70       plification.
71

AUTHOR

73       Please send feedback, bug reports, and support requests to the
74       Math::Symbolic support mailing list: math-symbolic-support at lists dot
75       sourceforge dot net. Please consider letting us know how you use
76       Math::Symbolic. Thank you.
77
78       If you're interested in helping with the development or extending the
79       module's functionality, please contact the developers' mailing list:
80       math-symbolic-develop at lists dot sourceforge dot net.
81
82       List of contributors:
83
84         Steffen Müller, symbolic-module at steffen-mueller dot net
85         Stray Toaster, mwk at users dot sourceforge dot net
86         Oliver Ebenhöh
87

SEE ALSO

89       New versions of this module can be found on http://steffen-mueller.net
90       or CPAN. The module development takes place on Sourceforge at
91       http://sourceforge.net/projects/math-symbolic/
92
93       Math::Symbolic::Custom Math::Symbolic::Custom::DefaultDumpers
94       Math::Symbolic::Custom::DefaultTests Math::Symbolic
95
96
97
98perl v5.8.8                       2008-02M-a2t2h::Symbolic::Custom::DefaultMods(3)
Impressum