File: [local] / OpenXM / doc / Attic / OpenXM-FAQ-jp.txt (download)
Revision 1.4, Thu Feb 24 00:27:43 2000 UTC (24 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_1_2 Changes since 1.3: +21 -1
lines
An example of LLL
|
% $OpenXM: OpenXM/doc/OpenXM-FAQ-jp.txt,v 1.4 2000/02/24 00:27:43 takayama Exp $
Q. 1999, 11/10:
" (file) run " を ox_sm1 に送って executeStringByLocalParser しても
ファイルをロードしてくれません.
A. "[(parse) (file) pushfile] extension " で読み込んでください.
ox_asir も load("file") を executeStringByLocalParser しても
だめです. "file", 1, "load" をスタックへ積んでから execute します.
ox_math も "<< file" executeStringByLocalParser しても
だめです.
Q. 1999, 11/10:
OX サーバを起動しようとしても起動しません.
asir を起動したあと, ox_launch したら, segmentation fault した.
A. OpenXM は home directory の直下にあり, また OpenXM/rc/bashrc で環境
変数を正しく設定しましたか?
Q. 1999, 11/10:
sm1 は * をつかえないのですか?
A. *もつかえます. x*y も x y も同じいみです.
Q. 1999, 11/12:
sm1 は 有理数を係数とする多項式を扱えないのですか?
A. いまのところ扱えません.
OpenXM/lib/asir/xm の 関数 sm1_rat_to_p() は有理数係数の多項式を
sm1 が扱いやすいような 整数係数の多項式に変換してくれます.
Q. 1999, 11/12:
Solaris 2.5.1 で pari のコンパイルがうまくできません.
A.
| Solaris 2.5.1 ですが, いきなり pari の make でこけますね.
|
| /usr/local/bin/as -o kernel.o kernel1.s
| kernel1.s: Assembler messages:
| kernel1.s:1: Error: Rest of line ignored. First ignored character is `/'.
| make[2]: *** [kernel.o] Error 1
| make[2]: Leaving directory `/home/taka/OpenXM/src/pari-2.0.17.beta/Osolaris-spar
| cv9'
| make[1]: *** [install] Error 2
これは私も以前はまりました. Osolaris-sparcv?/Makefile で
AS=/usr/local/bin/as
となっているせいです. これは
AS=/usr/ccs/bin/as
でなければ make に失敗します. Solaris の場合には /usr/ccs/bin が
/usr/local/binより先にサーチされるように path を設定する必要があります.
このように設定しておくと configure の時自動的にAS=/usr/ccs/bin/as
としてくれる.
//&jp Q. pari で, LLL algorithm をつかうのにはどうしますか?
//&eg Q. How to use functions for LLL algorithm in pari?
/*&C
A. gp (Starting pari)
x = [1,0 ; 0,1] (Define a matrix. Do not use [[1,0],[0,1]].)
qflll(x)
*/
//&jp Q. Asir より pari をよびだして, LLL algorithm をつかうのにはどうしますか?
//&eg Q. How to use functions for LLL algorithm in asir by calling pari.
/*&C
A. asir
X = newmat(2,2,[[1,0],[0,1]]);
pari(lll,X);
*/