Sample NHPPP times using the thinning method
draw_intensity_line(
lambda,
majorizer_intercept,
majorizer_slope,
t_min,
t_max,
majorizer_is_loglinear = FALSE,
atmost1 = FALSE
)
a vector of event times (t_); if no events realize, a vector of length 0
(function) the instantaneous rate of the NHPPP.
(double) the intercept (alpha
) of the loglinear majorizer function.
(double) the slope (`beta') of the loglinear majorizer function.
(double) the lower bound of the time interval.
(double) the upper bound of the time interval.
(boolean) if TRUE
the majorizer is loglinear exp(alpha + beta * t)
boolean, draw at most 1 event time