Open In App

sympy.integrals.transforms.mellin_transform() in python

Last Updated : 08 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
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.




# 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 :




# 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)


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads