There are different methods of computing the determinant. See the docstring of Matrix.det.
Aaron Meurer On Fri, Sep 20, 2013 at 1:25 PM, Pablo Puente <[email protected]> wrote: > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
