Skip to content

saschatimme/PHCpack.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

PHCpack.jl

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

For instance, to solve the polynomial system

$$x^2 - y + 1 = x + y + 4 = 0$$

we type

using PHCPack
@var x y

f = System([x^2 - y + 1 ; x + y + 4])

phc(f)

The full syntax of phc is as follows

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.

About

A simple Julia wrapper for PHCpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages