Next: Common problems
Up: Advanced use of gp2c
Previous: Example of optimisation
For use with members functions, gp2c provides the following types:
- nf
- for ordinary number fields, i.e., a result given by the GP function nfinit.
- bnf
- for big number fields, i.e., a result given by the GP function bnfinit which includes class and unit group data.
- bnr
- for ray class groups, i.e., a result given by the GP function bnrinit.
- ell
- for elliptic curves, i.e., a result given by the GP function ellinit.
- gal
- for galois extensions, i.e., a result given by the GP function galoisinit.
- prid
- for prime ideals, i.e., a component of the result given by the GP function idealprimedec.
Members functions on typed objects are much more efficients. Also, when used
with PARI 2.1, gp2c cannot support member functions applied to generic
objects.
Bill Allombert
2006-01-28