lambertw, all branches
|
02-01-2024, 04:16 PM
Post: #57
|
|||
|
|||
RE: lambertw, all branches
Python W code (post 16)
Quote:s = (im(a) < 0) It is very convoluted. Let's make a table Code: old s updated s It is simpler to have old s = - sign(im(a) or 1) = ±1 Then, small_imag = (k==s), too simple to even need a variable for it. Previous post customized LN and ability to enter W guess also included. Python W, version 4 Code: from mpmath import * # no signed zero support |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)