Open In App

sympy.integrals.transforms.hankel_transform() in python

Last Updated : 10 Jul, 2020
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report

With the help of hankel_transform() method, we can compute the hankel transformation and returns the transformed function by using this method.

hankel transformation

Syntax : hankel_transform(f, r, k, nu, **hints)

Return : Return the transformed function.

Example #1 :

In this example we can see that by using hankel_transform() method, we are able to compute the hankel transformation and returns the transformed function.

Python3
# import hankel_transform
from sympy import hankel_transform, inverse_hankel_transform
from sympy import gamma, exp, sinh, cosh
from sympy.abc import r, k, m, nu, a

# Using hankel_transform() method
gfg = hankel_transform(5/r*m, r, k, nu)

print(gfg)

Output :

5*m/k

Example #2 :

Python3
# import hankel_transform
from sympy import hankel_transform, inverse_hankel_transform
from sympy import gamma, exp, sinh, cosh
from sympy.abc import r, k, m, nu, a

# Using hankel_transform() method
gfg = hankel_transform(1/(r*m)**2, r, k, 3)

print(gfg)

Output :

1/(3*m**2)


Next Article
Practice Tags :

Similar Reads