The "next-level math trick" Newton-Raphson has nothing to do with
functional programming. I have written solvers in purely iterative
style. As far as I know, Newton-Raphson is the opposite of functional
programming as you iteratively solve for the root. Functional programming
is stateless where you are not allowed to store any state (current best
guess root).

-----Original Message-----
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Beazley's Problem
Date: 09/22/2024 01:49:50 AM
Newsgroups: comp.lang.python

r...@zedat.fu-berlin.de (Stefan Ram) writes:
>   It's hella rad to see you bust out those "next-level math tricks"
>   with just a single line each!

You might like:

https://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pdf

The numerics stuff starts on page 9.


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to