Struct poisson::Builder [] [src]

pub struct Builder<F, V> where
    F: Float,
    V: Vector<F>, 
{ /* fields omitted */ }

Builder for the generator.

Methods

impl<V, F> Builder<F, V> where
    F: Float,
    V: Vector<F>, 
[src]

[src]

New Builder with type of distribution and radius specified. The radius should be ]0, √2 / 2]

[src]

New Builder with type of distribution and relative radius specified. The relative radius should be ]0, 1]

[src]

New Builder with type of distribution, approximate amount of samples and relative radius specified. The amount of samples should be larger than 0. The relative radius should be [0, 1]. For non-perioditic this is supported only for 2, 3 and 4 dimensional generation. For perioditic this is supported up to 8 dimensions.

[src]

Returns the radius of the generator.

[src]

Returns the type of the generator.

[src]

Builds generator with random number generator and algorithm specified.

Trait Implementations

impl<F: Default, V: Default> Default for Builder<F, V> where
    F: Float,
    V: Vector<F>, 
[src]

[src]

Returns the "default value" for a type. Read more

impl<F: Clone, V: Clone> Clone for Builder<F, V> where
    F: Float,
    V: Vector<F>, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Debug, V: Debug> Debug for Builder<F, V> where
    F: Float,
    V: Vector<F>, 
[src]

[src]

Formats the value using the given formatter.

impl<F: PartialEq, V: PartialEq> PartialEq for Builder<F, V> where
    F: Float,
    V: Vector<F>, 
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.