Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #196816

Re: Beazley's Problem

From Antoon Pardon <antoon.pardon@vub.be>
Newsgroups comp.lang.python
Subject Re: Beazley's Problem
Date 2024-10-06 22:19 +0200
Message-ID <mailman.4.1728245955.4695.python-list@python.org> (permalink)
References (1 earlier) <87tte941ko.fsf@nightsong.com> <newton-20240921151727@ram.dialup.fu-berlin.de> <87plow4v4p.fsf@nightsong.com> <0709b4b8b0bbf2a32d53649d1a6fbefbcd44a68a.camel@tilde.green> <adb3f9c9-6f57-4c1d-a3dc-370a1395c001@vub.be>

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

Re: Beazley's Problem Paul Rubin <no.email@nospam.invalid> - 2024-09-21 05:45 -0700
  Re: Beazley's Problem Paul Rubin <no.email@nospam.invalid> - 2024-09-21 13:19 -0700
    Re: Beazley's Problem Annada Behera <annada@tilde.green> - 2024-09-23 13:14 +0530
      Re: Beazley's Problem (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-23 22:44 +0000
      Re: Beazley's Problem Paul Rubin <no.email@nospam.invalid> - 2024-09-23 17:22 -0700
        Re: Beazley's Problem Annada Behera <annada@tilde.green> - 2024-09-24 13:55 +0530
        Re: Beazley's Problem dkcombs@panix.com (david k. combs) - 2024-11-10 20:48 +0000
          Re: Beazley's Problem Paul Rubin <no.email@nospam.invalid> - 2024-11-10 13:55 -0800
      Re: Modern Optimization (was: Beazley's Problem) Gilmeh Serda <gilmeh.serda@nothing.here.invalid> - 2024-09-26 16:13 +0000
      Re: Beazley's Problem Antoon Pardon <antoon.pardon@vub.be> - 2024-10-06 22:19 +0200

csiph-web