Hi Subham,

On Fri, Mar 18, 2016 at 9:36 AM, Subham Tibra <[email protected]> wrote:
> I have a question regarding converting an expression tree to holonomic
>
> For instance, we have an expression expr = sin(x)*exp(x), So traversing this
> gives sin(x) and exp(x). Once we have the holonomic representation of sin
> and exp we can use our multiplication algorithm to convert the whole
> expression to a holonomic one.
> So how is one going to get the holonomic representation of sin and exp? Do
> we have create some kind of table to store all the holonomic representation
> of elementary functions or should we develop a function to find holonomic
> representations?


There are multiple ways, but the easiest is to use what's already in
SymPy  via the hypergeometric functions, convert sin(x) and exp(x) to
hypergeometric functions, and then convert hypergeometric functions to
holonomic ones via the simple code I posted before.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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 https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CADDwiVA9KDdsarHnu0dL2HAFmvG34%3DzpSUP44p6wfvsZ6XahXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to