HasGP Gaussian Process Library. This module contains assorted functions that support the construction of matrices from functions.
Copyright (C) 2011 Sean Holden. firstname.lastname@example.org.
Take two vectors and a function. The vectors contain inputs 1 and 2. The function maps a pair of inputs to a value. Produce a matrix containing the values of the function at the relevant points.
Take a function and a matrix of instance vectors. Apply the function to each possible pair of instance vectors and return the result as a matrix.