[m-users.] Announcement: automatic differentiation in Mercury

Richard O'Keefe raoknz at gmail.com
Mon Jan 23 21:30:42 AEDT 2023


Thanks and praise.
I'm familiar with dual numbers https://en.wikipedia.org/wiki/Dual_number
and have used them, but I do not
understand the extra parameter in this code and have no
idea what a 'tape' is.  Where is that described?

On Mon, 23 Jan 2023 at 15:15, Mark Clements <mark.clements at ki.se> wrote:

> As a Christmas project, I have implemented automatic differentiation in
> Mercury, including both backwards and forwards differentiation. The ad
> module adapts an approach used in
> https://github.com/qobi/AD-Rosetta-Stone/, with a purely functional
> implementation.
>
> See https://github.com/mclements/mercury-ad for documentation and some
> examples.
>
> Sincerely, Mark.
>
>
> När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI
> kommer att behandla dina personuppgifter. Här finns information om hur KI
> behandlar personuppgifter<
> https://ki.se/medarbetare/integritetsskyddspolicy>.
>
>
> Sending email to Karolinska Institutet (KI) will result in KI processing
> your personal data. You can read more about KI’s processing of personal
> data here<https://ki.se/en/staff/data-protection-policy>.
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20230123/5a23a311/attachment.html>


More information about the users mailing list