tfp.math.lambertw_winitzki_approx
Stay organized with collections
Save and categorize content based on your preferences.
Computes Winitzki approximation to Lambert W function at z >= -1/exp(1).
tfp.math.lambertw_winitzki_approx(
z, name=None
)
The approximation for z >= -1/exp(1) will be used as a starting point in the
iterative algorithm to compute W(z). See _lambertw_principal_branch() below.
See
https://www.researchgate.net/post/Is_there_approximation_to_the_LambertWx_function
and in particular (38) in
https://pdfs.semanticscholar.org/e934/24f33e2742016ef18c36a80788400d2f17b4.pdf
Args |
z
|
value for which W(z) should be computed. Expected z >= -1/exp(1). If not
then function will fail due to log(<0).
|
name
|
optionally pass name for output.
|
Returns |
lambertw_winitzki_approx
|
Approximation for W(z) for z >= -1/exp(1).
|
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."],[],[]]