Skip to contents

Computed as: max(abs(x - y)). Cannot handle NA values.

Usage

distance_chebyshev_cpp(x, y)

Arguments

x

(required, numeric vector).

y

(required, numeric vector) of same length as x.

Value

numeric

Examples

distance_chebyshev_cpp(x = runif(100), y = runif(100))
#> [1] 0.9925474