float

inline fun float(size: Int, initializer: (Int) -> Float): FloatBuffer(source)

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