math_magnitude: Magnitude of a vector

View source: R/math.R

math_magnitudeR Documentation

Magnitude of a vector

Description

Get the magnitude of a vector of any length.

This function is the same as math_betrag()

Usage

math_magnitude(x)

Arguments

x

numerical vector

Value

numerical vector of length() one

Author(s)

Florian Wagner florian.wagner@wagnius.ch

Examples

math_betrag(c(1,1))
math_betrag(c(1,1,1))
math_betrag(rbind(c(1,1,0.5),c(1,1,1)))

wagnius-GmbH/slvwagner documentation built on Jan. 19, 2025, 7:10 a.m.