toDoubleBuffer

fun DoubleArray.toDoubleBuffer(): DoubleBuffer

Returns a direct primitive buffer containing all of the elements of this double array.

fun Array<out Double>.toDoubleBuffer(): DoubleBuffer

Returns a direct Double buffer containing all of the elements of this generic array.