Skip to main content

halve

Function halve 

Source
pub fn halve<T, E: From<GeopError>>(
    start: Scalar,
    most: usize,
    at: impl FnMut(&Scalar) -> Result<Probe<T>, E>,
) -> Result<Option<T>, E>
Expand description

probe with a step halved each time: start, start / 2, … — at most most of them.