Samples from tensor product P-spline prior and evaluates on fixed grids. Returns a matrix scaled to unit SD.
gen_random_2d(s_grid, t_grid, k_s, k_t, wiggliness)Matrix (length(s_grid) x length(t_grid)), scaled to unit SD.
First dimension evaluation points.
Second dimension evaluation points.
Basis dimension for s.
Basis dimension for t.
Controls smoothness.