While writing Wester test P22 I see calculating the eigenvalues of a 
diagonal matrix of dimension 100 takes forever:

  M=(2-x)*eye(100);

  assert M.eigenvals() == {-x + 2: 100}

I see that M.det() also takes forever.

Maybe Matrix.det()  could use a special implementation for big diagonal 
matrices?

Best Regards
Pablo

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to