arrayOf

public Array<Array<double>> arrayOf(ToDoubleFunction<T> f)


public Array<Array<double>> arrayOf(Array<double> timePoints, ToDoubleFunction<T> f)

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