https://github.com/cran/pracma
Raw File
Tip revision: e4641665e964c87f969d6efbb037ce5df2f85813 authored by Hans W. Borchers on 16 October 2018, 19:00:04 UTC
version 2.1.8
Tip revision: e464166
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