twonorm: Euclidean norm of a vector

Description

Computes the Euclidean norm of a vector.

Usage

1

Arguments

x

A vector.

Details

twonorm computes the Euclidean norm of a vector: sqrt(sum(x^2)).

Value

A numeric vector of length one containing the two-norm of x.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.