sympy.transforms.inverse_mellin_transform() in python
Last Updated :
08 Jul, 2020
With the help of inverse_mellin_transform
method, we can compute the inverse mellin transform and return the function.
Syntax : inverse_mellin_transform(F, s, x, strip)
Return : Return the function F(x).
Example #1 :
In this example we can see that by using inverse_mellin_transform()
method, we are able to get the function F(x) by performing inverse mallin transformation.
from sympy.integrals.transforms import inverse_mellin_transform
from sympy import oo, gamma
from sympy.abc import x, s
gfg = inverse_mellin_transform(gamma(s), s, x, ( 0 , oo))
print (gfg)
|
Output :
exp(-x)
Example #2 :
from sympy.integrals.transforms import inverse_mellin_transform
from sympy import oo, gamma
from sympy.abc import x, s
gfg = inverse_mellin_transform(gamma(s + 1 ), s, x, ( 0 , oo))
print (gfg)
|
Output :
x*exp(-x)
Share your thoughts in the comments
Please Login to comment...