inst/tinytest/test_basic_functions.R

expect_equal(hypergeometric_pFq(c(1, 2.5), c(0.5, 2), 1), 6.675991)
expect_equal(ibeta_inv(2.1, 5.2, 0.7), 0.361430961)
expect_equal(owens_t(2.1, 4.2), 0.00893221028140827)

Try the boostmath package in your browser

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

boostmath documentation built on Dec. 15, 2025, 5:07 p.m.