Nothing
source("SuperGauss-testfunctions.R")
context("Circulant - Determiant.")
test_that("Circulant$log_det works as expected.", {
skip_on_cran()
case_par <- expand.grid(N = c(1, sample(2:20, 10)))
ncase <- nrow(case_par)
for(ii in 1:ncase) {
list2env(case_par[ii,,drop=FALSE], envir = environment())
Nu <- floor(N/2)+1
upsd <- exp(-runif(1) * (1:Nu)/Nu)
psd <- unfold_acf(N, uacf = upsd)
acf <- ifft(psd)
ldet <- sum(log(psd))
Ct <- Circulant$new(N, uacf = acf[1:Nu])
expect_equal(ldet, Ct$log_det())
}
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.