Euclidean norm of a vector

Share:

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.