Here is my code for the thinning algorithm for a self exciting process. I\'ve already finished the algorithm for a standard poisson process and a non-homogeneous.
I\'