Struct pointprocesses::generalized::domains::Ball [−][src]
pub struct Ball { /* fields omitted */ }The n-dimensional ball.
Methods
impl Ball[src]
impl BallTrait Implementations
impl Set for Ball[src]
impl Set for Ballfn contains(&self, p: &Array1<f64>) -> bool[src]
fn contains(&self, p: &Array1<f64>) -> boolReturns whether or not a given vector p lies in the instance.
fn bounding_box(&self) -> Array<f64, Ix2>[src]
fn bounding_box(&self) -> Array<f64, Ix2>Returns a bounding box for the set. This function is used for point process simulation by rejection, but can also be used to implement a Monte Carlo estimation of the set"s measure. Read more