code:
b = 11^2 a = b^2 pri = [int(is_prime(i)) for i in range(a)] j = [i for i in range(a)][b+1:a:b] k = [i for i in range(a)][(b*2)+1:a:b] j.insert(0,0) k.insert(0,b) m = [matrix(QQ,sqrt(a)/(b/sqrt(b)),pri[j[i]:k[i]]) for i in range(len(j)-1)] eval = [m[i].eigenvalues() for i in range(len(m))] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
