Stationary Gaussian Random Fields

Below is code to generate stationary Gaussian random functions on an interval or a rectangle.
(These notes and examples were made during Canada/USA Mathcamp 2008.)