You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logabsdet is a function that returns (log(abs(det(M))), sign(det(M)) but may provide increased accuracy and/or speed (and is less likely to overflow). At the moment it works only for real matrices, but I believe it would be great if it were implemented also for complex matrices.
From glancing at the code (and earlier discussion at #13), I see no reason it cannot work for complex matrices as well. Note that julia's sign function is indeed implemented for complex numbers, so the interface can be exactly equivalent to the current one.
EDIT: on the other hand, I believe logdet should only be implemented for real matrices, as is currently the case. OK, apparently logdet is implemented for some complex matrices.
logabsdet
is a function that returns(log(abs(det(M))), sign(det(M))
but may provide increased accuracy and/or speed (and is less likely to overflow). At the moment it works only for real matrices, but I believe it would be great if it were implemented also for complex matrices.From glancing at the code (and earlier discussion at #13), I see no reason it cannot work for complex matrices as well. Note that julia's
sign
function is indeed implemented for complex numbers, so the interface can be exactly equivalent to the current one.EDIT:
on the other hand, I believeOK, apparentlylogdet
should only be implemented for real matrices, as is currently the case.logdet
is implemented for some complex matrices.Thoughts?
CC @mishmash
The text was updated successfully, but these errors were encountered: