HasGP Gaussian Process Library. This module contains assorted functions that support the construction of matrices from functions.

Copyright (C) 2011 Sean Holden. sbh11@cl.cam.ac.uk.

# Documentation

makeMatrixFromFunction2 :: (DVector -> Double) -> DVector -> DVector -> DMatrixSource

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.