May 26, 2018

Transform Math::Symbolic trees

MathSymbolicCustomTransformation is an extension to the MathSymbolic module. You’re assumed to be remotely familiar with that module throughout the documentation.

This package implements transformations of MathSymbolic trees using MathSymbolic trees. I’ll try to explain what this means in the following paragraphs.

Until now, in order to be able to inspect a MathSymbolic tree, one had to use the low-level MathSymbolic interface like comparing the top node’s term type with a constant such as T_OPERATOR and then its operator type with more constants. This has changed with the release of MathSymbolicCustomPattern.

To modify the tree, you had to use equally low-level or even encapsulation-breaking methods. This is meant to be changed by this distribution.

WWW http//