Open In App

sympy.integrals.transforms.mellin_transform() in python

Last Updated : 08 Jul, 2020
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report
With the help of 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. Python3
# 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)
Output :
(gamma(s), (0, oo), True)
Example #2 : Python3
# 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)
Output :
(2, (0, oo), True)

Next Article
Practice Tags :

Similar Reads