Sigh:   Yes...

Thanks!

Ray


On 04/13/2018 08:01 AM, Eric Gourgoulhon wrote:
Hi,

There is a typo in your code: it should be "from_meijerg" instead of "from_meijer":

|
sage:fromsympy.holonomic.holonomic importfrom_meijerg
sage:from_meijerg?
Signature:from_meijerg(func,x0=0,evalf=False,initcond=True,domain=QQ)
Docstring:
Convertsa MeijerG-functionto Holonomic."func"isthe G-Function
and"x0"isthe point at which initial conditions are required.

>>>fromsympy.holonomic.holonomic importfrom_meijerg,DifferentialOperators
>>>fromsympy importsymbols,meijerg,S
>>>x =symbols('x')
>>>from_meijerg(meijerg(([],[]),([S(1)/2],[0]),x**2/4))
HolonomicFunction((1)+(1)*Dx**2,x,0,[0,1/sqrt(pi)])
Initdocstring:x.__init__(...)initializes x;see help(type(x))forsignature
File:~/sage/8.1/local/lib/python2.7/site-packages/sympy/holonomic/holonomic.py
Type:function
|

Best wishes,

Eric.

Le vendredi 13 avril 2018 00:06:17 UTC+2, Raymond Rogers a écrit :

    The sympy documentation
    http://docs.sympy.org/latest/modules/holonomic/convert.html
    <http://docs.sympy.org/latest/modules/holonomic/convert.html>
     has the function from_meiljer and I do
    from sympy import *
    from sympy.holonomic.holonomic import from_hyper, from_meijer,
    DifferentialOperators
    (I think redundant)
    I get: "ImportError: cannot import name from_meijer"
    Is this a versioning error or what?

--
You received this message because you are subscribed to a topic in the Google Groups "sage-support" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/1I8ZThs_WGA/unsubscribe. To unsubscribe from this group and all its topics, send an email to sage-support+unsubscr...@googlegroups.com <mailto:sage-support+unsubscr...@googlegroups.com>. To post to this group, send email to sage-support@googlegroups.com <mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to