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
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