pub struct LognormalCox { /* private fields */ }Expand description
Lognormal Cox process.
Trait Implementations§
Source§impl TemporalProcess for LognormalCox
impl TemporalProcess for LognormalCox
Source§fn sample(&self, tmax: f64) -> TimeProcessResult
fn sample(&self, tmax: f64) -> TimeProcessResult
Algorithm: acceptance-rejection method Propose new event time, compute brownian increment, update intensity and accept/reject
Source§fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult>where
Self: Sync,
fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult>where
Self: Sync,
Batch-sample sequences from the model.
impl StochasticIntensity for LognormalCox
Auto Trait Implementations§
impl Freeze for LognormalCox
impl RefUnwindSafe for LognormalCox
impl Send for LognormalCox
impl Sync for LognormalCox
impl Unpin for LognormalCox
impl UnwindSafe for LognormalCox
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more