Skip to main content
Wicher's user avatar
Wicher's user avatar
Wicher's user avatar
Wicher
  • Member for 5 years, 1 month
  • Last seen this week
  • London, UK
comment
Computing log-determinant?
@DanielLichtblau, you're right, it only happens when I use a = DiagonalMatrix[Table[10.^-10, {10000}]];, say. This is weird, but not terribly relevant in practice.
comment
Computing log-determinant?
@DanielLichtblau (or others), the Do loop in logdet2 above seems to mess up the storing of the matrix in some way, causing CholeskyDecomposition to slow down enormously (for large matrices). I tried applying Developer`ToPackedArray but to no avail. Any ideas what is happening?
awarded
comment
Computing log-determinant?
Good points @DanielLichtblau and Roman, I qualified the answer to say it is for symmetric p.d. matrices.
revised
Computing log-determinant?
added 117 characters in body
Loading…
awarded
revised
Computing log-determinant?
added 243 characters in body
Loading…
revised
Computing log-determinant?
added 84 characters in body
Loading…
answered
Loading…
comment
Computing log-determinant?
Hope the Wolfram team can add such a function soon!
comment
Benchmarking Mathematica 13 across machines
Remarkable difference between windows and linux performance, anyone can shed more light on this?
answered
Loading…
comment
awarded
revised
Loading…
Loading…
awarded
awarded
awarded
Loading…