Learn R Programming

spate (version 1.7)

vnorm: Eucledian norm of a vector

Description

Calculates the Eucledian norm of a vector

Usage

vnorm(v)

Arguments

v

Vector.

Value

The Eucledian norm of the vector 'v'.

Examples

Run this code
# NOT RUN {
v <- c(1,2)
vnorm(v)
# }

Run the code above in your browser using DataLab