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


Groups > comp.lang.python > #196748

Re: Beazley's Problem

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Beazley's Problem
Date 2024-09-23 17:22 -0700
Organization A noiseless patient Spider
Message-ID <87h6a5lx30.fsf@nightsong.com> (permalink)
References (1 earlier) <87tte941ko.fsf@nightsong.com> <newton-20240921151727@ram.dialup.fu-berlin.de> <87plow4v4p.fsf@nightsong.com> <0709b4b8b0bbf2a32d53649d1a6fbefbcd44a68a.camel@tilde.green> <Newton-20240923132243@ram.dialup.fu-berlin.de>

Show all headers | View raw


ram@zedat.fu-berlin.de (Stefan Ram) writes:
>   Nobody up the thread was claiming it was functional. And you can
>   totally implement anything in an imperative or functional style.

Yeah the confusion was because I posted a link to "Why FP Matters",
which discusses these sorts of numerical hacks.

> def f_prime(x: float) -> float:
>     return 2*x

You might enjoy implementing that with automatic differentiation (not to
be confused with symbolic differentiation) instead.

http://blog.sigfpe.com/2005/07/automatic-differentiation.html

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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