Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saschatimme/phcpack.jl
A simple Julia wrapper for PHCpack
https://github.com/saschatimme/phcpack.jl
Last synced: about 2 months ago
JSON representation
A simple Julia wrapper for PHCpack
- Host: GitHub
- URL: https://github.com/saschatimme/phcpack.jl
- Owner: saschatimme
- Created: 2018-07-04T09:31:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T08:20:05.000Z (over 3 years ago)
- Last Synced: 2023-03-06T22:34:39.021Z (almost 2 years ago)
- Language: Julia
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHCpack.jl
Julia wrapper for [PHCpack](http://homepages.math.uic.edu/~jan/PHCpack/phcpack.html). Provides the function `phc` to call PHCpack from Julia.
For instance, to solve the polynomial system
```math
x^2 - y + 1 = x + y + 4 = 0
```
we type
```julia
using PHCPack
@var x yf = System([x^2 - y + 1 ; x + y + 4])
phc(f)
```The full syntax of `phc` is as follows
```julia
phc(f::HC.System;
file_path = mktempdir(),
phc_path = "",
cmd_options = "-b",
print_output = true)
```
where
* `file_path` is the path to the folder where you want the input and output be saved to.
* `phc_path` is the path to the folder where the `phc` executable is saved to.
* `cmd_options` are the options passed to `phc`.