Trait pointprocesses::generalized::Set [−][src]
pub trait Set {
fn contains(&self, p: &Array<f64, Ix1>) -> bool;
fn bounding_box(&self) -> Array<f64, Ix2>;
}Implement this trait to provide a method to check whether or not a vector lies in self.
Required Methods
fn contains(&self, p: &Array<f64, Ix1>) -> bool
fn bounding_box(&self) -> Array<f64, Ix2>
returns a bounding box for the set useful for Monte Carlo estimations of the area and also for point process simulation by rejection
Implementors
impl Set for Rectangle