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
7       transformations
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       Please see the docs for Math::Symbolic::Custom::Base for details, but
21       you should not try to use the standard Exporter semantics with this
22       class.
23

SUBROUTINES

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

AUTHOR

68       Please send feedback, bug reports, and support requests to the
69       Math::Symbolic support mailing list: math-symbolic-support at lists dot
70       sourceforge dot net. Please consider letting us know how you use
71       Math::Symbolic. Thank you.
72
73       If you're interested in helping with the development or extending the
74       module's functionality, please contact the developers' mailing list:
75       math-symbolic-develop at lists dot sourceforge dot net.
76
77       List of contributors:
78
79         Steffen Mueller, symbolic-module at steffen-mueller dot net
80         Stray Toaster, mwk at users dot sourceforge dot net
81         Oliver Ebenhoeh
82

SEE ALSO

84       New versions of this module can be found on http://steffen-mueller.net
85       or CPAN. The module development takes place on Sourceforge at
86       http://sourceforge.net/projects/math-symbolic/
87
88       Math::Symbolic::Custom Math::Symbolic::Custom::DefaultDumpers
89       Math::Symbolic::Custom::DefaultTests Math::Symbolic
90
91
92
93perl v5.28.0                      2018-07M-a1t4h::Symbolic::Custom::DefaultMods(3)
Impressum