public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Determinant of a matrix
@ 2002-10-22  3:12 Przemyslaw Sliwa
  2002-10-22  7:20 ` Gert Van den Eynde
  0 siblings, 1 reply; 5+ messages in thread
From: Przemyslaw Sliwa @ 2002-10-22  3:12 UTC (permalink / raw)
  To: gsl-discuss

Hello,

The determinant of a symmetric positive definite matrix is just the
product of the squares of the diagonal elements form the cholesky
decomposition (NAG documentation). So why I'm getting different
results form gsl_LU decomposition and the cholesky decomposition
of a 10*10 Hilbert matrix (elemenst i,j given by 1/(i+j-1)).
The results are not very big, but still they exist (determinant about 
0.5E+13 and
the difference 6.0E+1). Is it a bug, or the LU decomposition is unstable.
What should be suggested: determinant of a covariance matrix: its
Cholesky form or computation from LU decomposition.

Thanks for help

Przem


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Determinant of a matrix
@ 2002-07-23 10:03 Przemyslaw Sliwa
  2002-07-23 10:35 ` Alan Aspuru-Guzik
  2002-07-23 10:44 ` Dan, Ho-Jin
  0 siblings, 2 replies; 5+ messages in thread
From: Przemyslaw Sliwa @ 2002-07-23 10:03 UTC (permalink / raw)
  To: gsl-discuss

Does anyone know how to compute in an easy way the determinant of a real 
matrix?

Thanx for hinst.

Przem

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-22 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-22  3:12 Determinant of a matrix Przemyslaw Sliwa
2002-10-22  7:20 ` Gert Van den Eynde
  -- strict thread matches above, loose matches on Subject: below --
2002-07-23 10:03 Przemyslaw Sliwa
2002-07-23 10:35 ` Alan Aspuru-Guzik
2002-07-23 10:44 ` Dan, Ho-Jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).