getenorm: Calculate the two dimensional Eucledian norm

Description Usage Arguments Value Author(s) Examples

Description

Calculates the two dimensional Eucledian norm between two points.

Usage

1
getenorm(x1, y1, x2, y2)

Arguments

x1

point 1 x component

y1

point 1 y component

x2

point 2 x component

y2

point 2 y component

Value

numeric ... the eecledian norm

Author(s)

Bryan Holman

Examples

1
2
3
4
5
point1 <- c(2, 5)
point2 <- c(7, 9)

# calculate eucledian norm between two points
enorm <- getenorm(point1[1], point1[2], point2[1], point2[2])

bhlmn/WindVerification documentation built on May 12, 2019, 8:28 p.m.