Skip to content

Compatibility with latest Mathematica version 13.3.1 #6

@rudolfoldenbourg

Description

@rudolfoldenbourg

Hello Sjoerd Smit,

I am interested in Dual Numbers and Automatic differentiation for use in solving the inverse problem in non-linear imaging (polarized light microscopy). I am a member of the Wolfram Community, where you can learn more about my interests by exploring a notebook I created on polarized light ray tracing:
https://community.wolfram.com/web/rudolfo/home

I came across your Wolfram Language paclet DualNumbers and installed the latest version (DualNumbers-1.2.0.1.paclet) for use in Mathematica's latest version 13.3.1 on my MacBokPro with M1 Max chip running the latest MacOS software version 13.6.

When using your example notebook Example_code.nb to test the installation, I am running into the following problems:

  1. After installing the cloned repository, I load the paclet using <<DualNumbers`:
Pasted Graphic

While the error message puzzles me, it seems the installation has not failed altogether. For example, it evaluates the following cell from the example section correctly:
Pasted Graphic 1

However, in the earlier example of expanding a function f as a series in epsilon, DualSimplify[] does not evaluate correctly:
Pasted Graphic 2

For testing if the current Mathematica version 13.3.1 might cause the problem, I installed Mathematica version 12.3.1, which is available for installation on a computer with the Apple M1 chip. Using this earlier version of Mathematica and your example notebook Example_code.nb, I reinstalled the repository and loaded the paclet using <<DualNumbers`. This time there was no error message about the SiegelTheta function and I was hopeful that the automatic differentiation of f[a+b epsilon] might work this time. However, DualSimplify gave the same Out[] line again, f[a+b epsilon].

I am very impressed by your programming skills and the amount of work you have contributed in creating the paclet, which by the way is a new programming paradigm for me. I hope your creation can be adapted to work with the current version of Mathematica on its various platforms.

Any information or hint you can give will be greatly appreciated!

Kind regards,
Rudolf

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions