Find the norm of a vector

vecnorm(b)

Arguments

b

a vector

Value

the norm

Details

Find the norm of a vector

See also

Examples

x <- c(1, 2, 3)
vecnorm(x)
#> [1] 3.741657