Hi, 

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

sage: from sympy.holonomic.holonomic import from_meijerg
sage: from_meijerg?
Signature: from_meijerg(func, x0=0, evalf=False, initcond=True, domain=QQ)
Docstring: 
 Converts a Meijer G-function to Holonomic. "func" is the G-Function
 and "x0" is the point at which initial conditions are required.

 >>> from sympy.holonomic.holonomic import from_meijerg, 
DifferentialOperators
 >>> from sympy import symbols, 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)])
Init docstring: x.__init__(...) initializes x; see help(type(x)) for 
signature
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
>  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 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