Kerl, John on Tue, 06 Jul 2004 18:55:44 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
RE: complex arithmetic |
A starting point might be omega_n = Mod(x, polcyclo(N)) ... > -----Original Message----- > From: Jacques Le Normand [mailto:jacqueslen@sympatico.ca] > Sent: Monday, July 05, 2004 12:49 PM > To: pari-users@list.cr.yp.to > Subject: 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 >