Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement Meijer G function #17970

Open
rwst opened this issue Mar 17, 2015 · 7 comments
Open

implement Meijer G function #17970

rwst opened this issue Mar 17, 2015 · 7 comments

Comments

@rwst
Copy link
Contributor

rwst commented Mar 17, 2015

This function would allow to express the result from differentiation of several special functions with respect to the order parameter, which at the moment gives an error:

sage: diff(exp_integral_e(n,x),n)
NotImplementedError: The derivative of this function is only implemented for 
sage: gamma_inc(n,x).diff(n)
D[0](gamma)(n, x)

sage: sympy.expint(n, x).diff(n)
-x**(n - 1)*meijerg(((), (1, 1)), ((0, 0, -n + 1), ()), x)
sage: sympy.uppergamma(n, x).diff(n)
meijerg(((), (1, 1)), ((0, 0, n), ()), x) + log(x)*uppergamma(n, x)
sage: sympy.lowergamma(n, x).diff(n)
-meijerg(((), (1, 1)), ((0, 0, n), ()), x) - log(x)*uppergamma(n, x) + gamma(n)*polygamma(0, n)
sage: meijerg?
Object `meijerg` not found.

sage: laplace(cos(-1/t), t, s, algorithm='sympy')
...
AttributeError: Unable to convert SymPy result (=meijerg(((), ()), ((-1/2, 0, 1/2), (0,)), s**2/16)/4) into Sage

Mpmath has numerics too.

https://en.wikipedia.org/wiki/Meijer_G-function

See also https://ask.sagemath.org/question/60006/meijer-g-function-in-sage/

CC: @slel

Component: symbolics

Keywords: meijerg

Issue created by migration from https://trac.sagemath.org/ticket/17970

@rwst rwst added this to the sage-6.6 milestone Mar 17, 2015
@rwst

This comment has been minimized.

@rwst

This comment has been minimized.

@rwst rwst modified the milestones: sage-6.6, sage-8.3 Jun 6, 2018
@videlec
Copy link
Contributor

videlec commented Aug 3, 2018

comment:3

update milestone 8.3 -> 8.4

@videlec videlec modified the milestones: sage-8.3, sage-8.4 Aug 3, 2018
@sagetrac-tmonteil

This comment has been minimized.

@slel
Copy link
Member

slel commented Dec 6, 2021

Changed keywords from none to meijerg

@sheerluck
Copy link
Contributor

comment:6
sage: integrate(x * bessel_Y(1, x), (x, 0 ,1), algorithm="sympy")
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/usr/lib/python3.10/site-packages/sage/interfaces/sympy.py in _sympysage_function_by_name(fname)
    303         else:
    304             # the function defined in sympy is not known in sage
--> 305             raise AttributeError(fname)
    306     return func
    307 

AttributeError: meijerg

@mkoeppe mkoeppe removed this from the sage-8.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants