norm_vec: Takes the l2-norm of a vector.

View source: R/utils.R

norm_vecR Documentation

Takes the l2-norm of a vector.

Description

Takes the l2-norm of a vector.

Usage

norm_vec(x)

Arguments

x

the vector to be normed

Value

Returns the l2-norm of x.


yiqunchen/KmeansInference documentation built on June 4, 2022, 1:20 p.m.