norm2: Compute the L2 norm (Euclidean norm) of a vector

View source: R/linear-spherical-spline.R

norm2R Documentation

Compute the L2 norm (Euclidean norm) of a vector

Description

This function computes the L2 norm (Euclidean norm) of the input vector u.

Usage

norm2(u)

Arguments

u

Numeric vector.

Value

Numeric value representing the L2 norm of u.

Examples

norm2(c(1,2,3))

spheresmooth documentation built on May 29, 2024, 3:15 a.m.