I am having performance problems when using SAGE matrices with
Cyclotomic Fields.  Processing in GAP appears almost instant, whereas
the similar computation takes of the order  of a minute in SAGE. Am I
missing something?

Sage:
F.<s>=CyclotomicField(29)
m=[]
n=20
for i in range(n):
  row=[]
  for j in range(n):
    row.append(s**(i*j))
  m.append(row)
mat=matrix(m)
print mat.det()

GAP:
n:=20;
m:=List([1..n],i->List([1..n],j->E(29)^(i*j)));
Print(Determinant(m),"\n");

I am new to Sage and still find negotiating the documentation tricky.
Where, for example, might I find a list of methods corresponding to
class matrix?

Graham

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to