https://github.com/cran/pracma
Raw File
Tip revision: 10ae2bb8daa6ba60ffc49143525900a7978d54b7 authored by HwB on 08 August 2013, 00:00:00 UTC
version 1.5.0
Tip revision: 10ae2bb
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