Skip to content

Optimize PrepareDecoding#19

Closed
pierpal wants to merge 1 commit into
mainfrom
optimize-preparedecoding
Closed

Optimize PrepareDecoding#19
pierpal wants to merge 1 commit into
mainfrom
optimize-preparedecoding

Conversation

@pierpal
Copy link
Copy Markdown
Contributor

@pierpal pierpal commented Mar 24, 2026

Transition.cpp: remove 7 dead methods, closed-form matrix exponentials for SMC/SMC1, 3x3 block decomposition for CSC, binary search in findIntervalForTime. Simplify getOmegas and decoding quantity assembly.

smcpp CSFS: add raw_sfs_batch() using double instead of adouble — the original raw_sfs computed autodiff derivatives then discarded them. Batch all 69 discretization intervals in one call instead of 69 separate calls. Output matches within machine epsilon (max abs 2e-15).

Transition.cpp: remove 7 dead methods, closed-form matrix exponentials
for SMC/SMC1, 3x3 block decomposition for CSC, binary search in
findIntervalForTime. Simplify getOmegas and decoding quantity assembly.

smcpp CSFS: add raw_sfs_batch() using double instead of adouble — the
original raw_sfs computed autodiff derivatives then discarded them.
Batch all 69 discretization intervals in one call instead of 69
separate calls. Output matches within machine epsilon (max abs 2e-15).
@pierpal pierpal requested a review from fcooper8472 March 24, 2026 06:10
@pierpal pierpal closed this Mar 24, 2026
@pierpal pierpal deleted the optimize-preparedecoding branch March 24, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant