KoneMutableFloatArray
inline fun KoneMutableFloatArray(size: UInt, initializer: (UInt) -> Float): KoneMutableFloatArray(source)
Returns a KoneMutableFloatArray of provided size of elements produced by the initializer.
The element with index i
(from 0
to size exclusive) is initializer(index)
. All initializer invocations are computed consecutively on values from 0
to size exclusive in their order starting with 0
.
Returns a KoneMutableFloatArray of provided size of zeros.