tests/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)

Try the pracma package in your browser

Any scripts or data that you put into this service are public.

pracma documentation built on March 19, 2024, 3:05 a.m.