https://github.com/cran/pracma
Raw File
Tip revision: 6bedfa382c05ccbdda30ab12438b32fd9ba13876 authored by HwB on 12 December 2012, 00:00:00 UTC
version 1.3.3
Tip revision: 6bedfa3
hypot.R
###
###     h y p o t  Tests
###


hypot <- pracma::hypot
identical(hypot(3,4), 5)
identical(hypot(c(0,0), c(3,4)), c(3,4))
back to top