l2_norm: L2 norm between two vectors

Description Usage Arguments Value Examples

View source: R/sigfit_utility.R

Description

L2 norm between two vectors

Usage

1
l2_norm(x, y)

Arguments

x

Vector of real values

y

Vector of real values, same length as x

Value

Distance measure between x and y, where 0 means no difference.

Examples

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

kgori/sigfit documentation built on Feb. 3, 2022, 12:04 p.m.