https://github.com/cran/pracma
Raw File
Tip revision: c69aa96969f2c9b1cbf8c3970f9dc394bfcbd550 authored by Hans W. Borchers on 07 December 2021, 05:30:02 UTC
version 2.3.6
Tip revision: c69aa96
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