arrayOf
Returns a 2d-array from a set of time points and a conversion-to-double function
Return
a 2d-double-array of [time point][value]
Parameters
timePoints
time points at which the array is sampled
f
function to transform the type of the array T to Double