Skip to content
Snippets Groups Projects
Commit 69cd5bbd authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Optimize transition probability caching

Do not re-calculate transitionprobabilities, but rather store them in values and re-use if already calculated.

Also renamed $q, $i, $p as $qx, $ix, $px to avoid name clashes with the interest rate i.
parent 692ea850
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment