pub struct GridBuilder<B: BinsBuildingStrategy> { /* private fields */ }
Expand description

GridBuilder, given a strategy and some observations, returns a Grid instance for histogram computation.

Implementations

Given some observations in a 2-dimensional array with shape (n_observations, n_dimension) it returns a GridBuilder instance that has learned the required parameter to build a Grid according to the specified strategy.

Returns a Grid instance, built accordingly to the specified strategy using the parameters inferred from observations in from_array.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.