Struct pointprocesses::generalized::Ball [−][src]
pub struct Ball { /* fields omitted */ }
The n-dimensional ball.
Methods
impl Ball
[src]
impl Ball
Trait Implementations
impl Set for Ball
[src]
impl Set for Ball
fn contains(&self, p: &Array<f64, Ix1>) -> bool
[src]
fn contains(&self, p: &Array<f64, Ix1>) -> bool
Returns 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