[BACK]Return to pari_ftab.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_pari

Annotation of OpenXM/src/ox_pari/pari_ftab.c, Revision 1.2

1.1       noro        1: #include "ox_pari.h"
                      2:
                      3: /* type=1 : one num/poly/mat arg */
1.2     ! noro        4: /* type=2 : 1starg=num/poly/mat arg, 2ndarg=0(flag) */
1.1       noro        5:
                      6: struct parif parif_tab[] = {
                      7: /* (ulong)allocatemoremem(ulong) */
                      8:   {"allocatemem",(GEN (*)())allocatemoremem,0},
                      9: /* num/num */
                     10:   {"abs",gabs,1},
                     11:   {"erfc",gerfc,1},
                     12:   {"arg",garg,1},
                     13:   {"isqrt",racine,1},
                     14:   {"gamma",ggamma,1},
                     15:   {"zeta",gzeta,1},
                     16:   {"floor",gfloor,1},
                     17:   {"frac",gfrac,1},
                     18:   {"imag",gimag,1},
                     19:   {"conj",gconj,1},
                     20:   {"ceil",gceil,1},
1.2     ! noro       21:   {"isprime",gisprime,2},
1.1       noro       22:   {"bigomega",gbigomega,1},
                     23:   {"denom",denom,1},
                     24:   {"numer",numer,1},
                     25:   {"lngamma",glngamma,1},
                     26:   {"logagm",glogagm,1},
                     27:   {"classno",classno,1},
                     28:   {"classno2",classno2,1},
                     29:   {"dilog",dilog,1},
                     30:   {"disc",discsr,1},
                     31:   {"discf",discf,1},
                     32:   {"nextprime",nextprime,1},
                     33:   {"eintg1",eint1,1},
                     34:   {"eta",eta,1},
                     35:   {"issqfree",gissquarefree,1},
                     36:   {"issquare",gcarreparfait,1},
                     37:   {"gamh",ggamd,1},
                     38:   {"hclassno",classno3,1},
                     39:
                     40:   /* num/array */
                     41:   {"binary",binaire,1},
1.2     ! noro       42:   {"factorint",factorint,2},
1.1       noro       43:   {"factor",Z_factor,1},
                     44:   {"cf",gcf,1},
                     45:   {"divisors",divisors,1},
                     46:   {"smallfact",smallfact,1},
                     47:
                     48:   /* poly/poly */
                     49:   {"centerlift",centerlift,1},
                     50:   {"content",content,1},
                     51:
                     52:   /* poly/array */
                     53:   {"galois",galois,1},
                     54:   {"roots",roots,1},
                     55:
                     56:   /* mat/mat */
                     57:   {"adj",adj,1},
                     58:   {"lll",lll,1},
                     59:   {"lllgen",lllgen,1},
                     60:   {"lllgram",lllgram,1},
                     61:   {"lllgramgen",lllgramgen,1},
                     62:   {"lllgramint",lllgramint,1},
                     63:   {"lllgramkerim",lllgramkerim,1},
                     64:   {"lllgramkerimgen",lllgramkerimgen,1},
                     65:   {"lllint",lllint,1},
                     66:   {"lllkerim",lllkerim,1},
                     67:   {"lllkerimgen",lllkerimgen,1},
                     68:   {"trans",gtrans,1},
                     69:   {"eigen",eigen,1},
                     70:   {"hermite",hnf,1},
                     71:   {"mat",gtomat,1},
                     72:   {"matrixqz2",matrixqz2,1},
                     73:   {"matrixqz3",matrixqz3,1},
                     74:   {"hess",hess,1},
                     75:   {"ker",ker,1},
                     76:   {"keri",keri,1},
                     77:   {"kerint",kerint,1},
                     78:   {"kerintg1",kerint1,1},
                     79:
                     80:   /* mat/poly */
                     81:   {"det",det,1},
                     82:   {"det2",det2,1},
                     83:
                     84:   /* not examined yet */
                     85:   {"image",image,1},
                     86:   {"image2",image2,1},
                     87:   {"indexrank",indexrank,1},
                     88:   {"indsort",indexsort,1},
                     89:   {"initalg",initalg,1},
                     90:   {"isfund",gisfundamental,1},
                     91:   {"ispsp",gispsp,1},
                     92:   {"jacobi",jacobi,1},
                     93:   {"jell",jell,1},
                     94:   {"length",(GEN(*)())glength,1},
                     95:   {"lexsort",lexsort,1},
                     96:   {"lift",lift,1},
                     97:   {"lindep",lindep,1},
                     98:   {"modreverse",polymodrecip,1},
                     99:   {"mu",gmu,1},
                    100:   {"norm",gnorm,1},
                    101:   {"norml2",gnorml2,1},
                    102:   {"numdiv",numbdiv,1},
                    103:   {"omega",gomega,1},
                    104:   {"order",order,1},
                    105:   {"ordred",ordred,1},
                    106:   {"phi",phi,1},
                    107:   {"pnqn",pnqn,1},
                    108:   {"primroot",gener,1},
                    109:   {"psi",gpsi,1},
                    110:   {"quadgen",quadgen    ,1},
                    111:   {"quadpoly",quadpoly    ,1},
                    112:   {"recip",polrecip       ,1},
                    113:   {"redreal",redreal       ,1},
                    114:   {"regula",regula  ,1},
                    115:   {"reorder",reorder  ,1},
                    116:   {"rhoreal",rhoreal       ,1},
                    117:   {"sigma",sumdiv,1},
                    118:   {"signat",signat,1},
                    119:   {"simplify",simplify,1},
                    120:   {"smith",smith,1},
                    121:   {"smith2",smith2,1},
                    122:   {"sort",sort,1},
                    123:   {"sqr",gsqr,1},
                    124:   {"sqred",sqred,1},
                    125:   {"sqrt",gsqrt,1},
                    126:   {"supplement",suppl,1},
                    127:   {"trace",gtrace,1},
                    128:   {"trunc",gtrunc,1},
                    129:   {"unit",fundunit,1},
                    130:   {"wf",wf,1},
                    131:   {"wf2",wf2,1},
                    132:
                    133:    /* obsolete or useless */
                    134: #if 0
                    135:   {"matsize",matsize,1},
                    136:   {"real",greal,1},
                    137:   {"round",ground,1},
                    138:   {"vec",gtovec,1},
                    139:   {"reverse",recip  ,1},
                    140:   {"polred",polred,1},
                    141:   {"polred2",polred2,1},
                    142:   {"smalldiscf",smalldiscf,1},
                    143:   {"smallpolred",smallpolred,1},
                    144:   {"smallpolred2",smallpolred2,1},
                    145: #endif
                    146: };
                    147:
                    148: struct parif *search_parif(char *name)
                    149: {
                    150:   int tablen,i;
                    151:
                    152:   tablen = sizeof(parif_tab)/sizeof(struct parif);
                    153:   for ( i = 0; i < tablen; i++ ) {
                    154:     if ( !strcmp(parif_tab[i].name,name) )
                    155:       return &parif_tab[i];
                    156:   }
                    157:   return 0;
                    158: }
                    159:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>