Represents a multi-dimensional functions as an array of arrays of functions.
Part of MathLib, a diverse library of mathematical functions.
Miguel Negro, 2009.