set

operator fun set(index: Int, value: Double)(source)

Sets the element at the given index to the given value. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.

Since Kotlin

1.0
operator fun set(index: Int, value: Double)(source)

Sets the element at the given index to the given value. This method can be called using the index operator.

Since Kotlin

1.1
operator external fun set(index: Int, value: Double)(source)

Sets the element at the given index to the given value. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException.

Since Kotlin

1.3
operator fun set(index: Int, value: Double)(source)

Sets the element at the given index to the given value. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException.

Since Kotlin

1.8
operator fun set(index: Int, value: Double)(source)

Sets the element at the given index to the given value. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException.

Since Kotlin

1.8