Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

PHCpack.jl

Julia wrapper for PHCpack. Provides the function phc to call PHCpack from Julia.

Uses the Julia package DynamicPolynomials.jl.

For instance, to solve the polynomial

f(x) = x^2 - 1

we type

using PHCpack
using DynamicPolynomials

@polyvar x
f = [x^2 - 1]

phc(f)

The full syntax of phc is as follows

phc(f::Vector{T};
    file_path = mktempdir(),
    phc_path = "",
    cmd_options = "-b",
    print_output = true)

where

  • T is the polynomial type provided by DynamicPolynomials.
  • 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.

About

A simple Julia wrapper for PHCpack

Resources

License

Releases

No releases published

Packages

No packages published

Languages