pow

infix inline fun <T : Number> T.pow(array: Array<T>): DoubleArray

Raises this value to the power array.

Example:

2 pow arrayOf(1, 2, 3) // [2.0, 4.0, 8.0]

Since

1.1.0

See also

pow

infix inline fun <T : Number> Array<T>.pow(number: T): DoubleArray

Raises this Array to the power number.

Example:

arrayOf(1, 2, 3) pow 2 // [1.0, 4.0, 9.0]

Since

1.1.0

See also

pow

infix inline fun <T : Number> T.pow(iterable: Iterable<T>): Iterable<Double>

Raises this value to the power iterable.

Example:

2 pow listOf(1, 2, 3) // [2.0, 4.0, 8.0]

Since

1.1.0

See also

pow

infix inline fun <T : Number> Iterable<T>.pow(number: T): Iterable<Double>

Raises this Iterable to the power number.

Example:

listOf(1, 2, 3) pow 2 // [1.0, 4.0, 9.0]

Since

1.1.0

See also

pow

infix inline fun <T : Number> T.pow(number: T): Double

Raises this value to the power number.

Example:

2 pow 3 // 8
2.3 pow 3 // 12.167

Since

1.1.0

See also

pow