pub trait Approx {
    type Approximation;
    type Params;

    fn approx(
        &self,
        tolerance: Tolerance,
        params: Self::Params
    ) -> Self::Approximation; }
Expand description

Approximate an object

Required Associated Types

The approximation of the object

Additional parameters required for the approximation

Required Methods

Approximate the object

tolerance defines how far the approximation is allowed to deviate from the actual object.

Implementors