calc_norm {mulgar}R Documentation

Calculate the norm of a vector

Description

Returns the square root of the sum of squares of a vector

Usage

calc_norm(x)

Arguments

x

numeric vector

Value

numeric value

Examples

x <- rnorm(5)
calc_norm(x)

[Package mulgar version 1.0.2 Index]