mul

infix inline fun <T : Number> Int.mul(array: Array<T>): IntArray

Multiplies this value by the array.

Example:

10 mul arrayOf(1, 2, 3) // [10, 20, 30]

Since

1.1.0


infix inline fun <T : Number> Array<T>.mul(number: Int): IntArray

Multiplies this Array by the number.

Example:

arrayOf(1, 2, 3) mul 10 // [10, 20, 30]

Since

1.1.0


infix inline fun <T : Number> Float.mul(array: Array<T>): FloatArray

Multiplies this value by the array.

Example:

10F mul arrayOf(1F, 2F, 3F) // [10F, 20F, 30F]

Since

1.1.0


infix inline fun <T : Number> Array<T>.mul(number: Float): FloatArray

Multiplies this Array by the number.

Example:

arrayOf(1F, 2F, 3F) mul 10F // [10F, 20F, 30F]

Since

1.1.0


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

Multiplies this value by the array.

Example:

10.0 mul arrayOf(1.0, 2.0, 3.0) // [10.0, 20.0, 30.0]

Since

1.1.0


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

Multiplies this Array by the number.

Example:

arrayOf(1.0, 2.0, 3.0) mul 10.0 // [10.0, 20.0, 30.0]

Since

1.1.0


infix inline fun <T : Number> Long.mul(array: Array<T>): LongArray

Multiplies this value by the array.

Example:

10L mul arrayOf(1L, 2L, 3L) // [10L, 20L, 30L]

Since

1.1.0


infix inline fun <T : Number> Array<T>.mul(number: Long): LongArray

Multiplies this Array by the number.

Example:

arrayOf(1L, 2L, 3L) mul 10L // [10L, 20L, 30L]

Since

1.1.0


infix inline fun <T : Number> Int.mul(iterable: Iterable<T>): Iterable<Int>

Multiplies this value by the iterable.

Example:

10 mul listOf(1, 2, 3) // [10, 20, 30]

Since

1.1.0


infix inline fun <T : Number> Iterable<T>.mul(number: Int): Iterable<Int>

Multiplies this Iterable by the number.

Example:

listOf(1, 2, 3) mul 10 // [10, 20, 30]

Since

1.1.0


infix inline fun <T : Number> Float.mul(iterable: Iterable<T>): Iterable<Float>

Multiplies this value by the iterable.

Example:

10F mul listOf(1F, 2F, 3F) // [10F, 20F, 30F]

Since

1.1.0


infix inline fun <T : Number> Iterable<T>.mul(number: Float): Iterable<Float>

Multiplies this Iterable by the number.

Example:

listOf(1F, 2F, 3F) mul 10F // [10F, 20F, 30F]

Since

1.1.0


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

Multiplies this value by the iterable.

Example:

10.0 mul listOf(1.0, 2.0, 3.0) // [10.0, 20.0, 30.0]

Since

1.1.0


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

Multiplies this Iterable by the number.

Example:

listOf(1.0, 2.0, 3.0) mul 10.0 // [10.0, 20.0, 30.0]

Since

1.1.0


infix inline fun <T : Number> Long.mul(iterable: Iterable<T>): Iterable<Long>

Multiplies this value by the iterable.

Example:

10L mul listOf(1L, 2L, 3L) // [10L, 20L, 30L]

Since

1.1.0


infix inline fun <T : Number> Iterable<T>.mul(number: Long): Iterable<Long>

Multiplies this Iterable by the number.

Example:

listOf(1L, 2L, 3L) mul 10L // [10L, 20L, 30L]

Since

1.1.0