Skip to content

Wu-Zihao/PfdParallelM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PfdParallelM

Usage

PfdParallelM is a Mathematica package to help user to run pfd-parallel more conveniently in Mathematica interface. pfd-parallel is a package to simplify rational functions by partial fraction decomposition. If you do not have pfd-parallel installed on your computer, please click here to install it first.

How to use

  1. Get this package by
Get["the path of the PfdParallelM package"]
  1. Create a temporary working folder for PfdParallelM, run
CreatePfdParallelMWorkingFolder[" some folder "] to \

The folder can be a folder that already exists.

  1. Tell PfdParallelM where pfd-parallel is, run
SetPfdParallelPackagePath["somePath/pfd-parallel/"]
  1. Run
PfdParallelPrepareInput[x]

to begin a pfd task, where x is a list or a matrix, whose entries are fractions to be partial fraction decomposed. This function returns a string, which is a message to tell the user the 1-line command to run pfd-parallel in terminal, and a 1-line command to read the results. An example of such a message is like

Preparation finished. To get the result, do the following:
1. Run the following command in a terminal:
somePath/run.sh
2. Wait until the above computation finished. Then, click "x" to close the monitor.
3. Run the following commad here (in Mathematica UI):
yourResultName=PfdParallelReadOutput["some path","matrix",{47,108}];

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published