https://github.com/cran/pracma
Raw File
Tip revision: 1305bf51cc38adca02d0c8a834c61a4c7e038309 authored by Hans W. Borchers on 08 February 2015, 00:00:00 UTC
version 1.8.3
Tip revision: 1305bf5
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