https://github.com/cran/pracma
Raw File
Tip revision: 12e26b7898f3fb6da81e710947bff1bfaf513f81 authored by Hans W. Borchers on 04 March 2022, 09:40:02 UTC
version 2.3.8
Tip revision: 12e26b7
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