determinant

107 views
Skip to first unread message

side cap

unread,
Jul 21, 2015, 7:46:06 AM7/21/15
to jblas...@googlegroups.com
Hello,

i cannot find determinant in DoubleMatrix in 1.2.4 version ?

thxs for your help.


Mikio Braun

unread,
Aug 8, 2015, 11:26:18 AM8/8/15
to jblas...@googlegroups.com
Hi side cap,

Currently, there is no such method, unfortunately. However, you can
compute them using QR or LU decompositions, especially when you need
the absolute value, this is pretty straightforward. For example, you
compute the QR decomposition and then, the absolute value of the
product of diagonal elements of R is the determinant.

If also want the correct sign, things get a bit more difficult, and i
couldn't quickly see just how that is exactly done.

Hope this helps for now,

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



--
Mikio Braun - http://blog.mikiobraun.de, http://twitter.com/mikiobraun
Reply all
Reply to author
Forward
0 new messages