Commit f5a4b15
ENH: use minimax approximations for real branches of
* initial fukushima implementation
* create dld_d
* keep tol for compatibility
* fix polynomial coefficient ordering
* add k=-1 branch
* create flf_f
* add float overload
* fix minus sign
* fix polynomial orders
* fix W-1 coefficient tables mixup
* undo namespace split; use cephes::ratevl
* minor cleanups
* copy tests from #116
* fix tests
* more test tweaks
* nan/inf tweaks
* run `pixi run format`
* undo changes to evalpoly.h
* Apply suggestions from code review
Co-authored-by: Albert Steppi <1953382+steppi@users.noreply.github.com>
* define constants inside the function body
* move coeff arrays to nested detail::lambertw_real namespace
* add special-case shortcut to complex overload
* pixi run format
* address review comments
* fix suspected coefficient typo
* experimental series expansion around zero
* bugfix
* improve series expansion
* cleanup
* tweak test tolerance following review
---------
Co-authored-by: Albert Steppi <1953382+steppi@users.noreply.github.com>lambertw (#119)1 parent f407990 commit f5a4b15
5 files changed
Lines changed: 472 additions & 4 deletions
File tree
- include/xsf
- cephes
- tests
- scipy_special_tests
- xsf_tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments