point_to_interval_distance: Distance from a point to an interval

Description Usage Arguments Value Author(s)

Description

Calculates the distance from each point to the closest element of the corresponding interval. Doesn't check validity of arguments; should only be called within hausdorff_distance().

Usage

1
point_to_interval_distance(point, interval)

Arguments

point

vector of points

interval

matrix of intervals, with 2 columns and number of rows equal to the length of point

Value

vector of distances

Author(s)

Brenton Kenkel


brentonk/coefbounds documentation built on May 13, 2019, 5:09 a.m.