Sujet : Re: Differentiable Forth
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forthDate : 17. Jul 2024, 03:59:10
Autres entêtes
Organisation : novaBBS
Message-ID : <e554423c6bd0af3caba1de25676b01df@www.novabbs.com>
References : 1 2 3 4 5 6
User-Agent : Rocksolid Light
AD is a powerful method when you need the derivatives of calculated
(not measured) functions. But if you don't know what a Jacobian
matrix is, you probably won't need AD.
There is a whole website dedicated to AD, tools and applications:
https://www.autodiff.org/Projected to Forth, an autodiff wordset could be thought of similar
to a complex number wordset imaging the standard fp-number wordset.
However, care must be taken with non-differentiable regions in
e.g. fabs, fsqrt and some (inverse) trigonometric functions.
(AD libraries in C++ use operator overloading)