hypot: Hypot

hypotR Documentation

Hypot

Description

length of line connecting two points in a plane

Usage

hypot(x1, y1, x2, y2)

Arguments

x1

x-location point 1

y1

y-location point 1

x2

x-location point 2

y2

y-location point 2

Details

Euclidean distance

Value

numeric distance

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples


hypot(34, 12, 56, 89)


RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.