R/funKernel.R

Defines functions funKernel

funKernel <-
function(ref)
{
    Mat = matrix(nrow=ref, ncol=ref)
    for(i in 1:ref)
    {
        for(j in 1:ref)
        {
            Mat[i,j] = 0.34 * exp(0.5 * ((i/ref)^2 + (j/ref)^2))
        }
    }
    return(Mat)
}

Try the ftsa package in your browser

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

ftsa documentation built on March 31, 2026, 9:07 a.m.