With the help of inverse_fourier_transform() method, we can compute the inverse fourier transformation and return the unevaluated function.
Syntax : inverse_fourier_transform(F, k, x, **hints)
Return : Return the unevaluated function.
Example #1 :
In this example we can see that by using inverse_fourier_transform() method, we are able to compute the inverse fourier transformation which return the unevaluated function by using this method.
Python3
# import inverse_fourier_transform from sympy import inverse_fourier_transform, exp, sqrt, pi from sympy.abc import x, k # Using inverse_fourier_transform() gfg = inverse_fourier_transform(sqrt(pi) * exp( - (pi * k) * * 2 ), k, x) print (gfg) |
Output :
exp(-x**2)
Example #2 :
Python3
# import inverse_fourier_transform from sympy import inverse_fourier_transform, exp, sqrt, pi from sympy.abc import x, k # Using inverse_fourier_transform() gfg = inverse_fourier_transform(sqrt(pi) * exp( - (pi * k) * * 2 ), k, 4 ) print (gfg) |
Output :
exp(-16)