Mathematica Interface Example
The following provides a short example on how to use the Mathematica
interface
of NeoPDF
. More examples can be found in
neopdf_wolfram.
Prerequisites
In order to use the interface, we first need to install the bindings to the Wolfram
LibraryLink and the Wolfram Language. To do so, clone the repository and go into the
neopdf_wolfram
directory. Then run the following command:
This will generate a libneopdf_wolfram.dylib
in the $PWD/target/release/
directory
which can be loaded in Mathematica using the LibraryFunctionLoad
function.
Example interpolating PDFs
The following example illustrates how to load and interpolate PDFs from Mathematica
.