normalizd: Normalize a vector: L2 norm

View source: R/Functions.R

normalizdR Documentation

Normalize a vector: L2 norm

Description

This function normalizes a given vector so that the length (L2) of a vector is 1

Usage

normalizd(x)

Arguments

x

An Input vector

Value

Normalized vector


tsinghua-ZTX/SPER documentation built on June 7, 2024, 5:30 a.m.