Struct partial_function::PartialFunction [] [src]

pub struct PartialFunction<B, O> where
    B: PartialOrd
{ /* fields omitted */ }

Define a functions defined by multiple functions parts. See BoundedFunction. Uses bounds as [lower,higher], except in the case of a lower bound overlapping a higher bound. In this case, the lower bound always take precedence.

Methods

impl<B, O> PartialFunction<B, O> where
    B: PartialOrd
[src]

[src]

Creates a new PartialFunctionBuilder

[src]

Evaluates the partial function. Returns NAN if no function is defined.