Jacques Le Normand on Mon, 05 Jul 2004 21:57:07 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

complex arithmetic


Hello,
I'd like to do exact arithmetic in Q[e^(Pi*I/n)]. for example, in GAP I would 
type "E(24) * E(24)" and it would output "E(12)"  (E(n) is e^(Pi*I/n) or 
somesuch in GAP). This is fine; however, GAP is woefully slow, and I want to 
use libPari, which is speedy. n is fixed before any computation starts. is 
there any way of doing this in Pari? thanks
--Jacques