tfp.math.bessel_iv_ratio
Stay organized with collections
Save and categorize content based on your preferences.
Computes I_{v} (z) / I_{v - 1} (z)
in a numerically stable way.
tfp.math.bessel_iv_ratio(
v, z, name=None
)
Let I(v, z) be the modified bessel function of the first kind. This computes
the ratio of I(v, z) / I(v - 1, z). This can be more numerically stable
and faster than computing the ratio directly.
This uses a continued fraction approximation attributed to Gauss for
computing this quantity in the limit where z <= v, and a continued fraction
approximation attributed to Perron for z > v.
Args |
v
|
value for which I_{v}(z) / I_{v - 1}(z) should be computed. Expect
v > 0.
|
z
|
value for which I_{v}(z) / I_{v - 1}(z) should be computed. Expect
z > 0.
|
name
|
A name for the operation (optional).
Default value: None (i.e., 'bessel_iv_ratio').
|
Returns |
I(v, z) / I(v - 1, z).
|
References
[1]: Walter Gautschi and Josef Slavik. On the Computation of Modified
Bessel Function Ratios. http://www.jstor.com/stable/2006491
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-21 UTC."],[],[]]