sympy.integrals.transforms.mellin_transform() in python
Last Updated :
08 Jul, 2020
Improve
With the help of
Python3
Output :
Python3
Output :
transforms.mellin_transform()
method, we can compute the mellin transform F(s) of f(x).

Syntax : transforms.mellin_transform(f, x, s)
Return : Return the fundamental strip and auxiliary convergence conditions.
Example #1 :
In this example we can see that by using transforms.mellin_transform()
method, we are able to compute the mellin transformation and return the fundamental strip and auxiliary convergence conditions.
# import mellin_transform
from sympy.integrals.transforms import mellin_transform
from sympy import exp
from sympy.abc import x, s
# Using mellin_transform() method
gfg = mellin_transform(exp(-x), x, s)
print(gfg)
(gamma(s), (0, oo), True)Example #2 :
# import mellin_transform
from sympy.integrals.transforms import mellin_transform
from sympy import exp
from sympy.abc import x, s
# Using mellin_transform() method
gfg = mellin_transform(exp(-x), x, 3)
print(gfg)
(2, (0, oo), True)