Re: Beazley's Problem

Liste des GroupesRevenir à cl python 
Sujet : Re: Beazley's Problem
De : antoon.pardon (at) *nospam* vub.be (Antoon Pardon)
Groupes : comp.lang.python
Date : 06. Oct 2024, 22:19:10
Autres entêtes
Message-ID : <mailman.4.1728245955.4695.python-list@python.org>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
Op 23/09/2024 om 09:44 schreef Annada Behera via Python-list:
The "next-level math trick" Newton-Raphson has nothing to do with
functional programming. I have written solvers in purely iterative
style.
What is your point. Any problem solved in a functional style can
also be solved in a pure interative style. So you having written
something in an interative style doesn't contradict Newton-Raphson being expressable in a functional 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).
That doesn't prevent you from passing state along as a parameter,
usualy in some helper function.
--
Antoon Pardon.

Date Sujet#  Auteur
21 Sep 24 * Beazley's Problem14Stefan Ram
21 Sep 24 `* Re: Beazley's Problem13Paul Rubin
21 Sep 24  `* Re: Beazley's Problem12Stefan Ram
21 Sep 24   `* Re: Beazley's Problem11Paul Rubin
23 Sep 24    `* Re: Beazley's Problem10Annada Behera
23 Sep 24     +* Re: Beazley's Problem8Stefan Ram
24 Sep 24     i+- Re: Beazley's Problem (Posting On Python-List Prohibited)1Lawrence D'Oliveiro
24 Sep 24     i+* Re: Beazley's Problem4Paul Rubin
24 Sep 24     ii+- Re: Beazley's Problem1Annada Behera
10 Nov22:48     ii`* Re: Beazley's Problem2david k. combs
10 Nov23:55     ii `- Re: Beazley's Problem1Paul Rubin
26 Sep 24     i`* Modern Optimization (was: Beazley's Problem)2Stefan Ram
26 Sep 24     i `- Re: Modern Optimization1Stefan Ram
6 Oct 24     `- Re: Beazley's Problem1Antoon Pardon

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal