Annotation of OpenXM/src/asir-contrib/packages/doc/ox_pari/ox_pari-en.texi, Revision 1.1
1.1 ! takayama 1: %% $OpenXM$
! 2: %% debug に ln -s ../texinfo-ja.tex . をしておく.
! 3: %% xetex ox_pari-ja.texi (.texi までつける. )
! 4: %% 以下コメントは @comment で始める. \input texinfo 以降は普通の tex 命令は使えない.
! 5: \input texinfo-ja
! 6: @iftex
! 7: @catcode`@#=6
! 8: @def@fref#1{@xrefX[#1,,@code{#1},,,]}
! 9: @def@b#1{{@bf #1}}
! 10: @catcode`@#=@other
! 11: @end iftex
! 12: @overfullrule=0pt
! 13: @documentlanguage ja
! 14: @c -*-texinfo-*-
! 15: @comment %**start of header
! 16: @comment --- おまじない終り ---
! 17:
! 18: @comment --- GNU info ファイルの名前 ---
! 19: @setfilename ox_pari-en
! 20:
! 21: @comment --- タイトル ---
! 22: @settitle ox_pari
! 23:
! 24: @comment %**end of header
! 25: @comment %@setchapternewpage odd
! 26:
! 27: @comment --- おまじない ---
! 28: @ifinfo
! 29: @macro fref{name}
! 30: @ref{\name\,,@code{\name\}}
! 31: @end macro
! 32: @end ifinfo
! 33:
! 34: @iftex
! 35: @comment @finalout
! 36: @end iftex
! 37:
! 38: @titlepage
! 39: @comment --- おまじない終り ---
! 40:
! 41: @comment --- タイトル, バージョン, 著者名, 著作権表示 ---
! 42: @title ox_pari
! 43: @subtitle Risa/Asir ox_pari server
! 44: @subtitle 1.0 版
! 45: @subtitle August 27, 2020.
! 46:
! 47: @author by Risa/Asir committers
! 48: @page
! 49: @vskip 0pt plus 1filll
! 50: Copyright @copyright{} Risa/Asir committers
! 51: 2020--2020. All rights reserved.
! 52: @end titlepage
! 53:
! 54: @comment --- おまじない ---
! 55: @synindex vr fn
! 56: @comment --- おまじない終り ---
! 57:
! 58: @comment --- @node は GNU info, HTML 用 ---
! 59: @comment --- @node の引数は node-name, next, previous, up ---
! 60: @node Top,, (dir), (dir)
! 61:
! 62: @comment --- @menu は GNU info, HTML 用 ---
! 63: @comment --- chapter 名を正確に並べる ---
! 64: @comment --- この文書では chapter XYZ, Chapter Index がある.
! 65: @comment --- Chapter XYZ には section XYZについて, section XYZに関する関数がある.
! 66: @menu
! 67: * About ox_pari
! 68: * ox_pari functions::
! 69: * Index::
! 70: @end menu
! 71:
! 72: @comment --- chapter の開始 ---
! 73: @comment --- 親 chapter 名を正確に. 親がない場合は Top ---
! 74: @node About ox_pari,,, Top
! 75: @chapter About ox_pari
! 76:
! 77: The ox_pari is an OpenXM server for the number theory system pari.
! 78: Pari functions can be called as
! 79: @example
! 80: pari(function name, argument 1, ...);
! 81: @end example
! 82: @noindent
! 83: The function names which can be called by the OpenXM are listed
! 84: in the next chapter.
! 85:
! 86: @sp 3
! 87: @noindent
! 88: Pari/gp is a system for the number theory developed
! 89: at Bordeaux university.
! 90: See the following web page.
! 91: @itemize @bullet
! 92: @item [pari-gp]
! 93: @uref{http://pari.math.u-bordeaux.fr/index.html}
! 94: @end itemize
! 95:
! 96: @node ox_pari functions,,, Top
! 97: @chapter ox_pari functions
! 98:
! 99: @menu
! 100: * pari::
! 101: @end menu
! 102:
! 103: @comment **********************************************************
! 104: @comment --- ◯◯◯◯ の説明
! 105: @comment --- 個々の関数の説明の開始 ---
! 106: @comment --- section 名を正確に ---
! 107: @node pari,,, ox_pari functions
! 108: @section @code{ox_pari}
! 109: @comment --- 索引用キーワード
! 110: @findex pari
! 111:
! 112: @table @t
! 113: @item pari(@var{func},@var{arg1},@var{arg2}, ...)
! 114: :: Call the pari function @var{func}.
! 115: @end table
! 116:
! 117: @comment --- 引数の簡単な説明 --- 以下まだ書いてない.
! 118: @table @var
! 119: @item return
! 120: Result by the pari function.
! 121: @item argn
! 122: Argument for the pari function.
! 123: @end table
! 124:
! 125: @comment --- ここで関数の詳しい説明 ---
! 126: @comment --- @itemize〜@end itemize は箇条書き ---
! 127: @comment --- @bullet は黒点付き ---
! 128: @itemize @bullet
! 129: @item
! 130: pari library functions are
! 131: described in @uref{https://pari.math.u-bordeaux.fr/dochtml/html/}
! 132: @item
! 133: The pari library listed below can be called from Risa/Asir.
! 134: Note that names of library functions are sometimes different with gp function names.
! 135: @end itemize
! 136:
! 137: @comment OpenXM/src/ox_pari/pari_ftab.c を取り込む.
! 138: @smallformat
! 139: @verbatim
! 140: /* type=1 : one num/poly/mat arg */
! 141: /* type=2 : 1starg=num/poly/mat arg, 2ndarg=0(flag) */
! 142:
! 143: struct parif parif_tab[] = {
! 144: /* (ulong)allocatemoremem(ulong) */
! 145: {"allocatemem",(GEN (*)())allocatemoremem,0},
! 146: /* num/num */
! 147: {"abs",gabs,1},
! 148: {"erfc",gerfc,1},
! 149: {"arg",garg,1},
! 150: {"isqrt",racine,1},
! 151: {"gamma",ggamma,1},
! 152: {"zeta",gzeta,1},
! 153: {"floor",gfloor,1},
! 154: {"frac",gfrac,1},
! 155: {"imag",gimag,1},
! 156: {"conj",gconj,1},
! 157: {"ceil",gceil,1},
! 158: {"isprime",gisprime,2},
! 159: {"bigomega",gbigomega,1},
! 160: {"denom",denom,1},
! 161: {"numer",numer,1},
! 162: {"lngamma",glngamma,1},
! 163: {"logagm",glogagm,1},
! 164: {"classno",classno,1},
! 165: {"dilog",dilog,1},
! 166: {"disc",discsr,1},
! 167: {"discf",discf,1},
! 168: {"nextprime",nextprime,1},
! 169: {"eintg1",eint1,1},
! 170: {"eta",eta,1},
! 171: {"issqfree",gissquarefree,1},
! 172: {"issquare",gcarreparfait,1},
! 173: {"gamh",ggamd,1},
! 174: {"hclassno",classno3,1},
! 175:
! 176: /* num/array */
! 177: {"binary",binaire,1},
! 178: {"factorint",factorint,2},
! 179: {"factor",Z_factor,1},
! 180: {"cf",gcf,1},
! 181: {"divisors",divisors,1},
! 182: {"smallfact",smallfact,1},
! 183:
! 184: /* poly/poly */
! 185: {"centerlift",centerlift,1},
! 186: {"content",content,1},
! 187:
! 188: /* poly/array */
! 189: {"galois",galois,1},
! 190: {"roots",roots,1},
! 191: {"factpol",factpol,1},
! 192:
! 193: /* mat/mat */
! 194: {"adj",adj,1},
! 195: {"lll",lll,1},
! 196: {"lllgen",lllgen,1},
! 197: {"lllgram",lllgram,1},
! 198: {"lllgramgen",lllgramgen,1},
! 199: {"lllgramint",lllgramint,1},
! 200: {"lllgramkerim",lllgramkerim,1},
! 201: {"lllgramkerimgen",lllgramkerimgen,1},
! 202: {"lllint",lllint,1},
! 203: {"lllkerim",lllkerim,1},
! 204: {"lllkerimgen",lllkerimgen,1},
! 205: {"trans",gtrans,1},
! 206: {"eigen",eigen,1},
! 207: {"hermite",hnf,1},
! 208: {"mat",gtomat,1},
! 209: {"matrixqz2",matrixqz2,1},
! 210: {"matrixqz3",matrixqz3,1},
! 211: {"hess",hess,1},
! 212: {"ker",ker,1},
! 213: {"keri",keri,1},
! 214: {"kerint",kerint,1},
! 215: {"kerintg1",kerint1,1},
! 216:
! 217: /* mat/poly */
! 218: {"det",det,1},
! 219: {"det2",det2,1},
! 220:
! 221: /* not examined yet */
! 222: {"image",image,1},
! 223: {"image2",image2,1},
! 224: {"indexrank",indexrank,1},
! 225: {"indsort",indexsort,1},
! 226: {"initalg",initalg,1},
! 227: {"isfund",gisfundamental,1},
! 228: {"ispsp",gispsp,1},
! 229: {"jacobi",jacobi,1},
! 230: {"jell",jell,1},
! 231: {"length",(GEN(*)())glength,1},
! 232: {"lexsort",lexsort,1},
! 233: {"lift",lift,1},
! 234: {"lindep",lindep,1},
! 235: {"modreverse",polymodrecip,1},
! 236: {"mu",gmu,1},
! 237: {"norm",gnorm,1},
! 238: {"norml2",gnorml2,1},
! 239: {"numdiv",numbdiv,1},
! 240: {"omega",gomega,1},
! 241: {"order",order,1},
! 242: {"ordred",ordred,1},
! 243: {"phi",phi,1},
! 244: {"pnqn",pnqn,1},
! 245: {"primroot",gener,1},
! 246: {"psi",gpsi,1},
! 247: {"quadgen",quadgen ,1},
! 248: {"quadpoly",quadpoly ,1},
! 249: {"recip",polrecip ,1},
! 250: {"redreal",redreal ,1},
! 251: {"regula",regula ,1},
! 252: {"reorder",reorder ,1},
! 253: {"rhoreal",rhoreal ,1},
! 254: {"sigma",sumdiv,1},
! 255: {"signat",signat,1},
! 256: {"simplify",simplify,1},
! 257: {"smith",smith,1},
! 258: {"smith2",smith2,1},
! 259: {"sort",sort,1},
! 260: {"sqr",gsqr,1},
! 261: {"sqred",sqred,1},
! 262: {"sqrt",gsqrt,1},
! 263: {"supplement",suppl,1},
! 264: {"trace",gtrace,1},
! 265: {"trunc",gtrunc,1},
! 266: {"unit",fundunit,1},
! 267: {"wf",wf,1},
! 268: {"wf2",wf2,1},
! 269: };
! 270: @end verbatim
! 271: @end smallformat
! 272:
! 273: @sp 3
! 274: @noindent
! 275: Example,
! 276: finding
! 277: Ker(P: Z^4 ---> Z^2).
! 278: @example
! 279: pari(kerint,P=newmat(2,4,[[1,1,1],[0,1,3,4]]));
! 280: @end example
! 281: @noindent
! 282: In order to find a description of kerint,
! 283: please visit
! 284: @uref{https://pari.math.u-bordeaux.fr/dochtml/html/}
! 285: (the function name in gp is matkerint.)
! 286:
! 287:
! 288: @comment --- 参照(リンク)を書く ---
! 289: @table @t
! 290: @item 参照
! 291: @comment @ref{pari}
! 292: @end table
! 293:
! 294: @comment --- ChangeLog を書く. ソースコードの位置. 変更日時 など CVSサーバを見るため
! 295: @noindent
! 296: ChangeLog
! 297: @itemize @bullet
! 298: @item
! 299: The table is in OpenXM/src/ox_pari/pari_ftab.c
! 300: @end itemize
! 301:
! 302:
! 303:
! 304: @comment --- おまじない ---
! 305: @node Index,,, Top
! 306: @unnumbered Index
! 307: @printindex fn
! 308: @printindex cp
! 309: @iftex
! 310: @vfill @eject
! 311: @end iftex
! 312: @summarycontents
! 313: @contents
! 314: @bye
! 315: @comment --- おまじない終り ---
! 316:
! 317:
! 318: @comment テンプレート. start_of_template.
! 319: @comment **********************************************************
! 320: @comment --- ◯◯◯◯ の説明
! 321: @comment --- 個々の関数の説明の開始 ---
! 322: @comment --- section 名を正確に ---
! 323: @node gtt_ekn3.hoge,,, 超幾何関数E(k,n)
! 324: @subsection @code{gtt_ekn3.hoge}
! 325: @comment --- 索引用キーワード
! 326: @findex gtt_ekn3.hoge
! 327:
! 328: @table @t
! 329: @item gtt_ekn3.hoge(@var{i})
! 330: ::
! 331: @end table
! 332:
! 333: @comment --- 引数の簡単な説明 --- 以下まだ書いてない.
! 334: @table @var
! 335: @item i hage
! 336: @item return
! 337: @end table
! 338:
! 339: @comment --- ここで関数の詳しい説明 ---
! 340: @comment --- @itemize〜@end itemize は箇条書き ---
! 341: @comment --- @bullet は黒点付き ---
! 342: @itemize @bullet
! 343: @item 説明.
! 344: @end itemize
! 345:
! 346: @comment --- @example〜@end example は実行例の表示 ---
! 347: 例:
! 348: @example
! 349: [2221] gtt_ekn3.hoge([[1,4],[2,3]]);
! 350: @end example
! 351:
! 352:
! 353: @comment --- 参照(リンク)を書く ---
! 354: @table @t
! 355: @item 参照
! 356: @ref{gtt_ekn3.nc}
! 357: @ref{gtt_ekn3.gmvector}
! 358: @end table
! 359:
! 360: @comment --- ChangeLog を書く. ソースコードの位置. 変更日時 など CVSサーバを見るため
! 361: @noindent
! 362: ChangeLog
! 363: @itemize @bullet
! 364: @item
! 365: @end itemize
! 366: @comment end_of_template
! 367:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>