Trait pointprocesses::generalized::Set [−][src]
pub trait Set {
fn contains(&self, p: &Array<f64, Ix1>) -> bool;
fn bounding_box(&self) -> Array<f64, Ix2>;
}structs implementing this trait represent regions in n-dimensional space,
and check if a vector lies in it.
Required Methods
fn contains(&self, p: &Array<f64, Ix1>) -> bool
fn bounding_box(&self) -> Array<f64, Ix2>
Returns a bounding box for the set. This function is useful for Monte Carlo estimations of the area and also for point process simulation by rejection.