euc_dist: Euclidean distance function

View source: R/lrk.R

euc_distR Documentation

Euclidean distance function

Description

Euclidean distance function

Usage

euc_dist(x1, x2)

Arguments

x1

(tuple<real>) A tuple of real numbers

x2

(tuple<real>) A tuple of real numbers

Value

(real) Euclidean distance between x1 and x2

Examples

dist(c(1, 2), c(3, 4))

paulsavala/nebcs documentation built on March 20, 2022, 9:24 a.m.