[sage-support] Re: laplace_transform hypergeometric?

2018-04-13 Thread Ralf Stephan
I confirm conversion of hypergeometric 2F1 to SymPy is broken---but 2F2 is not so the workaround would be to give an additional 1 argument in the second slot. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and

[sage-support] laplace_transform hypergeometric?

2018-04-13 Thread Ralf Stephan
The transform is implemented via calling of SymPy but apparently something went wrong in the conversion to SymPy. I cannot say more as I'm not at my box but you can try to use SymPy directly as a workaround. Regards, -- You received this message because you are subscribed to the Google Groups

[sage-support] laplace_transform hypergeometric?

2018-04-13 Thread Raymond Rogers
Is the Laplace transform of hypergeometric functions implemented?  If not can I have a pointer to how to implement it? Here is an example under notebook(); jupyter throws the same error. "TypeError: 'Integer' object is not iterable" , I tried various alterations of the parameters; to no avail.

[sage-support] Re: points on a Fermat curve

2018-04-13 Thread slelievre
Fri 2018-04-13 10:56:17 UTC, David Joyner: > > PS: About 3 years ago, a related question was posted: > > https://groups.google.com/forum/#!topic/sage-support/s59iDjhu2zU > > For some reason, the method described there is no longer implemented. Regarding the example in the discussion you

Re: [sage-support] points on a Fermat curve

2018-04-13 Thread David Joyner
On Fri, Apr 13, 2018 at 7:26 AM, John Cremona wrote: > This looks like a bug to me: > > sage: F=GF(3) > sage: R.=F[] > sage: C=Curve(X^8+Y^8-Z^8) > sage: C.count_points(1) # correct count over GF(3^1) > [4] > sage: C.count_points(8) # should give counts over GF(3^n)

Re: [sage-support] Re: simple?--from_meijer in jupyter

2018-04-13 Thread Raymond Rogers
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?

[sage-support] Re: simple?--from_meijer in jupyter

2018-04-13 Thread Eric Gourgoulhon
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

Re: [sage-support] simple?--from_meijer in jupyter

2018-04-13 Thread Raymond Rogers
Yes I had that; I thought the whole thing was too redundant. Here is a complete entry and response: from sympy import * from sympy.holonomic.holonomic import from_hyper, from_meijer, DifferentialOperators from sympy.holonomic.holonomic import * from sympy.integrals import laplace_transform

Re: [sage-support] points on a Fermat curve

2018-04-13 Thread John Cremona
This looks like a bug to me: sage: F=GF(3) sage: R.=F[] sage: C=Curve(X^8+Y^8-Z^8) sage: C.count_points(1) # correct count over GF(3^1) [4] sage: C.count_points(8) # should give counts over GF(3^n) for n=1..8 but it crashes TypeError: F (=[X^8 + Y^8 - Z^8]) must be a list or tuple of

[sage-support] points on a Fermat curve

2018-04-13 Thread David Joyner
Hi: The question below is posted for Gary McGuire, who is not a subscriber to this list: "I would like to know the number of rational points on the (projective) curve x^8+y^8=z^8 over the field of order 3^{18}. My question is, can Sage do this calculation, and how?" - David PS: About 3 years

Re: [sage-support] simple?--from_meijer in jupyter

2018-04-13 Thread Henri Girard
Sorry if I spam : I did this is it of any help as it works in sage-8.1 from sympy import * from sympy.holonomic.holonomic import * from sympy.holonomic import DifferentialOperators from sympy.abc import x from sympy import ZZ R, D = DifferentialOperators(ZZ.old_poly_ring(x), 'D')

Re: [sage-support] simple?--from_meijer in jupyter

2018-04-13 Thread Henri Girard
from sympy.holonomic.holonomic import * Have you tried this ? Le 13/04/2018 à 00:06, 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