my.norm.2: Euclidean norm of a vector

View source: R/rmargint-fn.R

my.norm.2R Documentation

Euclidean norm of a vector

Description

This function calculates the Euclidean norm of a vector.

Usage

my.norm.2(x)

Arguments

x

A real vector.

Value

The Euclidean norm of the input vector.

Author(s)

Matias Salibian-Barrera, matias@stat.ubc.ca, Alejandra Martinez

Examples

x <- seq(-2, 2, length=10)
my.norm.2(x)


rmargint documentation built on Oct. 24, 2023, 1:06 a.m.