https://github.com/cran/pracma
Raw File
Tip revision: 6b5162225f1e90f742ac53c32bf06c8053cff577 authored by HwB on 26 July 2011, 00:00:00 UTC
version 0.7.5
Tip revision: 6b51622
fnorm.R
##
##  f n o r m  Test suite
##


fnorm <- pracma::fnorm

identical(fnorm(log, sqrt, 1, 2, p = Inf), 1.0)
identical(fnorm(log, sqrt, 1, 2, p = -Inf), sqrt(2) - log(2))
identical(fnorm(log, sqrt, 1, 2, p = 0), Inf)
back to top