FloatArray
An array of floats. When targeting the JVM, instances of this class are represented as float[].
Since Kotlin
1.0An array of floats. When targeting the JVM, instances of this class are represented as float[].
Since Kotlin
1.1Constructors
Creates a new array of the specified size, where each element is calculated by calling the specified init function.
Creates a new array of the specified size, where each element is calculated by calling the specified init function.
Creates a new array of the specified size, with all elements initialized to zero.
Creates a new array of the specified size, with all elements initialized to zero.
Functions
Properties
Extensions
Searches the array or the range of the array for the provided element using the binary search algorithm. The array is expected to be sorted, otherwise the result is undefined.
Sorts the array in-place according to the order specified by the given comparison function.
Returns a new SortedSet of all elements.