Skip to content

Commit

Permalink
Add implementation note
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Jul 29, 2024
1 parent 52708d9 commit 6ed81c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Fast evaluation of the real valued parts of the principal and secondary branches of the [Lambert W function](https://en.wikipedia.org/wiki/Lambert_W_function) using the [method of Toshio Fukushima](https://www.researchgate.net/publication/346309410_Precise_and_fast_computation_of_Lambert_W_function_by_piecewise_minimax_rational_function_approximation_with_variable_transformation) to either 24 or 50 bits of accuracy.

This method uses a piecewise minimax rational function approximation with variable transformations.
It is implemented in code as conditional switches on the input value followed by either a square root or a logarithm and finished by a series of cumulative multiplies by fixed constants.

## Examples

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//! Fast evaluation of the real valued parts of the principal and secondary branches of the [Lambert W function](https://en.wikipedia.org/wiki/Lambert_W_function) using the [method of Toshio Fukushima](https://www.researchgate.net/publication/346309410_Precise_and_fast_computation_of_Lambert_W_function_by_piecewise_minimax_rational_function_approximation_with_variable_transformation) to either 24 or 50 bits of accuracy.
//!
//! This method uses a piecewise minimax rational function approximation with variable transformations.
//! It is implemented in code as conditional switches on the input value followed by either a square root or a logarithm and finished by a series of cumulative multiplies by fixed constants.
//!
//! ## Examples
//!
Expand Down

0 comments on commit 6ed81c1

Please sign in to comment.