calc_norm: Calculate the norm of a vector

View source: R/multivariate.R

calc_normR 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)

mulgar documentation built on April 12, 2025, 1:23 a.m.