Another case might be expand(), which has a bunch of different
"methods", called "hints".  In that case, they are just like mul=False
to turn them off or trig=True to turn them on.  But there was talk of
a hints manager that would let you do more with them, like let
mul=True automatically turn off all the others.

So I guess what we should really try to do is bring back the
discussion of the hints manager, and look at what sorts of things
could use it.  There is already an options manager in the polys that
is a good start here.

Aaron Meurer

On Tue, Sep 4, 2012 at 2:27 PM, someone <[email protected]> wrote:
> Hi,
>
> In this mail, I start describing a new proposal
> for choosing the actual algorithms used by a
> computation command like "integrate".
>
> At the moment we have keywords like "meijerg=" in
> integrate or "method='bareis'" in "det".
>
> I'd like to suggest a common, neutral name for this
> parameter, for example "algorithm" or "method" or
> something like that.
>
> The values should be the names of the methods. We can
> explicitely choose f.e. method="meijerg" or method="risch"
> or method="patternmatch" and so on.
>
> Further we should support lists of such names. Then f.e.
> method=["risch", "meijerg"] would say that we first try
> Risch and if it fails we try the MeijerG code. Some other
> user could change this according to his needs and call
> f.e. method=["meijerg", "risch"]. I remember a discussion
> some time ago, about which order should be the default.
>
> In a similar way limits could do f.e.
> method=["heuristics", "series", "grutz"]
> and ode-solvers could choose the methods to try.
>
> What do you think about such a general system for
> choosing the algorithms used and their precedence?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to