Learn R Programming

MaxWiK (version 1.0.6)

norm_vec: The norm function for vector

Description

The norm function for vector

Usage

norm_vec(x)

norm_vec_sq(x)

Value

The squared root of sum of squared elements of the vector x or Euclid length of the vector x

The squared Euclid norm or the sum of squared elements of the vector x

Arguments

x

numeric vector

Functions

  • norm_vec_sq(): The squared norm or the sum of squared elements of the vector x

Examples

Run this code
NULL
NULL

Run the code above in your browser using DataLab