Python中的sympy.integrals.transforms.inverse_sine_transform()
借助inverse_sine_transform()方法,我们可以计算反正弦变换并返回未计算的函数。
Syntax : inverse_sine_transform(F, k, x, **hints)
Return : Return the unevaluated function.
示例 #1:
在这个例子中,我们可以看到通过使用inverse_sine_transform()方法,我们能够计算反正弦变换并返回评估函数。
Python3
# import inverse_sine_transform
from sympy import inverse_sine_transform, exp, sqrt, gamma, pi
from sympy.abc import x, k, a
# Using inverse_sine_transform() method
gfg = inverse_sine_transform(2**((1-2 * a)/2)*k**(a - 1)*gamma(-a / 2 + 1)/gamma((a + 1)/2), k, x)
print(gfg)
Python3
# import inverse_sine_transform
from sympy import inverse_sine_transform, exp, sqrt, gamma, pi
from sympy.abc import x, k, a
# Using inverse_sine_transform() method
gfg = inverse_sine_transform(2**((1-2 * a)/2)*k**(a - 1)*gamma(-a / 2 + 1)/gamma((a + 1)/2), k, 3)
print(gfg)
输出 :
x**(-a)
示例 #2:
Python3
# import inverse_sine_transform
from sympy import inverse_sine_transform, exp, sqrt, gamma, pi
from sympy.abc import x, k, a
# Using inverse_sine_transform() method
gfg = inverse_sine_transform(2**((1-2 * a)/2)*k**(a - 1)*gamma(-a / 2 + 1)/gamma((a + 1)/2), k, 3)
print(gfg)
输出 :
(1/3)**a