##### Carlssons method for log
 Carlssons method for log Gusbagro Unladen Swallow Posts: 1 Threads: 1 Joined: Jul 2021 Reputation: Jul-01-2021, 05:49 PM (This post was last modified: Jul-01-2021, 06:05 PM by Yoriz. Edit Reason: Added code tags ) Anyone have experiance from the Carlssons method for log? I have this code but it doesnt seem to work. ```def fast_approx_ln(x,n): d = empty([n+1,n+1]) a0 = (1+x)/2 g0 = sqrt(x) for i in range(n): a0 = (a0+g0)/2 g0 = sqrt(a0*g0) a0 = d[0,i] for k in range(n): for i in range(n): d[k,i] = (d[k-1,i]-4**(-k)*d[k-1,i-1])/(1-4**(-k)) return((x-1)/d[n,n]) #print(fast_approx_ln(3,2))``` Yoriz write Jul-01-2021, 06:05 PM:Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button. Reply deanhystad Black Knight Posts: 3,492 Threads: 15 Joined: Feb 2020 Reputation: Jul-03-2021, 01:11 PM Can you provide a link? I can't find anything about Carlssons method Reply Larz60+ aetate et sapientia Posts: 11,164 Threads: 420 Joined: Sep 2016 Reputation: Jul-04-2021, 02:17 AM perhaps something here: https://pypi.org/search/?q=Carlssons I haven't scanned the list, but you can open the links and search for carlssons. I did look at diagram2vec and it has a section on Adcock-Carlsson polynomials if that's what your looking for. Reply

Forum Jump:

### User Panel Messages

##### Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020