math icon indicating copy to clipboard operation
math copied to clipboard

Update gaussian_dlm_obs_log to use LDLT

Open syclik opened this issue 10 years ago • 3 comments

From @mbrubake on February 18, 2014 22:44

Currently still uses inverse_spd/log_determinant_spd which may be less than optimal for large systems.

Copied from original issue: stan-dev/stan#574

syclik avatar Jul 06 '15 21:07 syclik

I was looking at this issue and looking through the code for inverse_spd and log_determinant_spd. Both use Eigen's LDLT and other Eigen functions. Is this still an issue? Or, are you looking to further optimize inverse_spd and log_determinant_spd?

rayleigh avatar Dec 18 '15 20:12 rayleigh

@syclik or @mrbrubake: Could one of you verify this issue should still be outstanding.

And if it is, will whoever works on it please get rid of all those redundant // comment markers and unused includes and move the TODO items to an issue if they're still relevant.

bob-carpenter avatar Aug 17 '16 16:08 bob-carpenter

This should still be outstanding but it's primarily a speed issue and (to a lesser extent) a robustness/stability thing. It would be an easy fix for someone, I suspect @rtrangucci or anyone else with a familiarity with LDLT could do it in an hour or less, as it looks like there are already tests for it.

mbrubake avatar Aug 17 '16 23:08 mbrubake