double

inline fun double(size: Int, initializer: (Int) -> Double): DoubleBuffer(source)

Creates a DoubleBuffer with the specified size, where each element is calculated by calling the specified initializer function.