R/osplinepen2d.R

Defines functions osplinepen2d

osplinepen2d = function(bbasis1, bbasis2)   {
    omega20 = Omegas(bbasis1, 2) %x% Omegas(bbasis2, 0)
    omega11 = Omegas(bbasis1, 1) %x% Omegas(bbasis2, 1)
    omega02 = Omegas(bbasis1, 0) %x% Omegas(bbasis2, 2)
    omega20 + 2 * omega11 + omega02
}

Try the refund package in your browser

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

refund documentation built on Nov. 14, 2023, 5:07 p.m.