@overfullrule=0pt
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
この節では PHC pack の ox サーバ ox_sm1_phc
とのインタフェース関数を解説する.
これらの関数はファイル  ‘phc.rr’ で定義されている.
phc は ‘$(OpenXM_HOME)/lib/asir-contrib’ にある.
[255] phc.start(); 0 [257] phc.phc([x^2+y^2-4,x*y-1]); The detailed output is in the file tmp.output.* The answer is in the variable Phc. 0 [260] Phc ; [[[-0.517638,0],[-1.93185,0]], [[1.93185,0],[0.517638,0]], [[-1.93185,0],[-0.517638,0]], [[0.517638,0],[1.93185,0]]] [261]
Author of PHC pack: Jan Verschelde. 
http://www2.math.uic.edu/~jan/download.html
参考書 1: Jan Verschelde,
PHCpack: A general-purpose solver for polynomial systems by
homotopy continuation".  ACM Transaction on Mathematical Softwares, 25(2): 
251-276, 1999. 
参考書 2: Cox, D., O’Shea, Little, J.,  Using Algebraic Geometry,
Springer. Mixed volumes についての章を見よ.
| 1.1.1 phc.start | ||
| 1.1.2 phc.phc | 
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
phc.start::  Localhost で ox_sm1_phc を起動する.
整数
ox_sm1_phc を起動する.
    起動された ox_sm1_phc の識別番号を戻す.
Xm_noX =1 としておくと, ox_sm1_phc 用の debug window が開かない.
Phc_proc に格納される.
P = phc.start()
ox_launch, phc
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
phc.phc:: PHC pack に代数方程式系 s の解をすべてもとめてくれるように頼む.
なし
数
リスト
www.mth.msu.edu/~jan である.
    PHC pack は代数方程式系を解くためにいろいろな戦略をえらぶことができるが,
    このインタフェース関数では, black-box solver しか用いていない.
    black-box solver は一般的な戦略ではあるが, 能率的ではない.
    この関数で代数方程式を解くのに失敗したら, オリジナルの PHC pack を用い,
    ほかの戦略を試してみるとよい.
tmp.phc.out.pid, tmp.input.*, 
tmp.output.* を生成する.
ここで pid は ox_sm1_phc のプロセス番号である.
ファイル tmp.output.* には PHC pack がどのように方程式系を解いたのかの
詳しい情報がはいっている.
length(s) は等しくないといけない.
Algorithm: Jan Verschelde, PHCpack: A general-purpose solver for polynomial systems by homotopy continuation". ACM Transaction on Mathematical Softwares, 25(2): 251-276, 1999.
[232] P = phc.start(); 0 [233] phc.phc([x^2+y^2-4,x*y-1]|proc=P); The detailed output is in the file tmp.output.* The answer is in the variable Phc. 0 [234] Phc; [[[-1.93185,0],[-0.517638,0]], [[0.517638,0],[1.93185,0]], [[-0.517638,0],[-1.93185,0]], [[1.93185,0],[0.517638,0]]] [[x=[real, imaginary], y=[real,imaginary]], the first solution [x=[real, imaginary], y=[real,imaginary]], the second solution ...
ox_launch, phc.start, ‘$(OpenXM_HOME)/bin/lin_phcv2’(original PHC pack binary for linux)
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
| Jump to: | P | 
|---|
| Index Entry | Section | ||
|---|---|---|---|
|  | |||
| P | |||
| phc.phc | 1.1.2 phc.phc | ||
| phc.start | 1.1.1 phc.start | ||
|  | |||
| Jump to: | P | 
|---|
| [Top] | [Contents] | [Index] | [ ? ] | 
| [Top] | [Contents] | [Index] | [ ? ] | 
| [Top] | [Contents] | [Index] | [ ? ] | 
This document was generated on October 31, 2025 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
| Button | Name | Go to | From 1.2.3 go to | 
|---|---|---|---|
| [ << ] | FastBack | Beginning of this chapter or previous chapter | 1 | 
| [ < ] | Back | Previous section in reading order | 1.2.2 | 
| [ Up ] | Up | Up section | 1.2 | 
| [ > ] | Forward | Next section in reading order | 1.2.4 | 
| [ >> ] | FastForward | Next chapter | 2 | 
| [Top] | Top | Cover (top) of document | |
| [Contents] | Contents | Table of contents | |
| [Index] | Index | Index | |
| [ ? ] | About | About (help) | 
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
 
  This document was generated on October 31, 2025 using texi2html 5.0.