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)

dicook/mulgar documentation built on April 17, 2025, 4:33 a.m.