#17759: convenience class symbolic ExpressionTreeWalker(Converter)
-------------------------+-------------------------------------------------
Reporter: rws | Owner:
Type: | Status: needs_review
enhancement | Milestone: sage-6.5
Priority: major | Resolution:
Component: | Merged in:
symbolics | Reviewers:
Keywords: | Work issues:
Authors: Ralf | Commit:
Stephan | 3781eec1432c7efe6531be4338fef51cc04eda6d
Report Upstream: N/A | Stopgaps:
Branch: |
public/17759 |
Dependencies: |
-------------------------+-------------------------------------------------
Description changed by rws:
Old description:
> This class can already be used as base class for `SubstituteFunction` but
> is intended also for other uses.
> {{{
> sage: from sage.symbolic.expression_conversions import
> ExpressionTreeWalker
> sage: from sage.symbolic.random_tests import random_expr
> sage: foo = random_expr(20, nvars=2)
> sage: s = ExpressionTreeWalker(foo)
> sage: bool(s() == foo)
> True
> }}}
New description:
This class can already be used as base class for `SubstituteFunction` but
is intended also for other uses.
{{{
sage: from sage.symbolic.expression_conversions import
ExpressionTreeWalker
sage: from sage.symbolic.random_tests import random_expr
sage: foo = random_expr(20, nvars=2)
sage: s = ExpressionTreeWalker(foo)
sage: bool(s() == foo)
True
}}}
Used in #9424
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17759#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.