This repo. has stopped maintaining since the end of 2023. All its main code is integrated in the pfd-parallel Mathematica interface: PfdParallelM.
pfd-parallel-listnumden-converter is a format converter for pfd-parallel.
pfd-parallel is a package to simplify rational functions by partial fraction decomposition. It is based on the Singular/GPI-Space framework. Thus, the input rational functions of pfd-parallel should be prepared in Singular readable format, which are .ssi or listnumden (.txt). See here for more details.
This package provides a parallel conversion from Mathematica readable files to Singular readable listnumden (.txt) files, so that they can be used as inputs for pfd-parallel. For example, the expression list(list(x,1),list(x+y*z,z^2))
in listnumden txt files.
- Prepare your rational functions in separated Mathematica readable files (which means you can read it in Mathematica by
somename=Get["some path"]
). The files should be put in the same folder, and the folder should contain no other file or sub directory. Let the folder be labled as [inputFolder]. - Run
math -script listnumden-converter.wl [inputFolder] [outputFolder]
- The converted rational functions in form of listnumden will be exported to [outputFolder].
- You can use the converter in Mathematica notebook. If so, remember to set
commandLineMode=False
and type in the [inputFolder] and [outputFolder] by hand. - It is recommended to use absolute paths for [inputFolder] and [outputFolder].
- If [outputFolder] dose not exit, it will be created. If it exists, the files inside may be overwritten with no warning message.
- The conversion is in parallel using Mathmatica's ParallelTable.