Learn R Programming

spate (version 1.7.5)

vnorm: Eucledian norm of a vector

Description

Calculates the Eucledian norm of a vector

Usage

vnorm(v)

Value

The Eucledian norm of the vector 'v'.

Arguments

v

Vector.

Author

Fabio Sigrist

Examples

Run this code
v <- c(1,2)
vnorm(v)

Run the code above in your browser using DataLab