Karim Belabas on Sun, 24 Jun 2012 08:07:21 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Missing bnf functions |
* Malcolm Bovey [2012-06-24 03:25]: > I'm having trouble running some code on a Mac OS X (v 10.6.8) installation. I downloaded and compiled the latest stable version of PARI-GP (2.5.1) - this seemed to be successful. However, PARI doesn't seem to know about some internal functions that it should do. For example, when I try using bnfclassunit, I get > > bnfclassunit(x^2-5) > *** at top-level: bnfclassunit(x^2-5) > *** ^------------------- > *** not a function in function call > *** Break loop: type 'break' to go back to GP > > bnfinit seems to work fine. > > Any suggestions as to what's going wrong here? These functions are gone (deemed useless), since version 2.4. >From the "COMPAT" file: - remove obsolete GP functions bnfclassunit, bnfreg, bnfclgp, bnfunit. Use bnfinit. These function were no faster than bnfinit() and yielded much less information. The recommended idiom is now K = bnfinit(x^2 - 5) then member functions K.clgp, K.fu, etc. (cf "?."). Cheers, K.B. -- Karim Belabas, IMB (UMR 5251) Tel: (+33) (0)5 40 00 26 17 Universite Bordeaux 1 Fax: (+33) (0)5 40 00 69 50 351, cours de la Liberation http://www.math.u-bordeaux1.fr/~belabas/ F-33405 Talence (France) http://pari.math.u-bordeaux1.fr/ [PARI/GP] `