set

operator fun set(index: Int, element: Float): Float(source)

Sets the value at index to element.

Return

the previous value set at index

Throws

if index isn't between 0 and lastIndex, inclusive