Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / div
Go to reference

div

operator fun Attribute<BigDecimal>.div(other: Attribute<BigDecimal>): Attribute<BigDecimal>
operator fun Attribute<BigDecimal>.div(other: BigDecimal): Attribute<BigDecimal>
operator fun Attribute<BigInteger>.div(other: Attribute<BigInteger>): Attribute<BigInteger>
operator fun Attribute<BigInteger>.div(other: BigInteger): Attribute<BigInteger>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.div


@JvmName("divDouble") operator fun Attribute<Byte>.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Attribute<Byte>.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divInt") operator fun Attribute<Byte>.div(other: Attribute<Int>): Attribute<Int>
@JvmName("divLong") operator fun Attribute<Byte>.div(other: Attribute<Long>): Attribute<Long>
@JvmName("divShort") operator fun Attribute<Byte>.div(other: Attribute<Short>): Attribute<Int>
operator fun Attribute<Byte>.div(other: Attribute<Byte>): Attribute<Int>
operator fun Attribute<Byte>.div(other: Byte): Attribute<Int>
operator fun Attribute<Byte>.div(other: Double): Attribute<Double>
operator fun Attribute<Byte>.div(other: Float): Attribute<Float>
operator fun Attribute<Byte>.div(other: Int): Attribute<Int>
operator fun Attribute<Byte>.div(other: Long): Attribute<Long>
operator fun Attribute<Byte>.div(other: Short): Attribute<Int>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Byte.div


@JvmName("divByte") operator fun Attribute<Double>.div(other: Attribute<Byte>): Attribute<Double>
@JvmName("divFloat") operator fun Attribute<Double>.div(other: Attribute<Float>): Attribute<Double>
@JvmName("divInt") operator fun Attribute<Double>.div(other: Attribute<Int>): Attribute<Double>
@JvmName("divLong") operator fun Attribute<Double>.div(other: Attribute<Long>): Attribute<Double>
@JvmName("divShort") operator fun Attribute<Double>.div(other: Attribute<Short>): Attribute<Double>
operator fun Attribute<Double>.div(other: Attribute<Double>): Attribute<Double>
operator fun Attribute<Double>.div(other: Byte): Attribute<Double>
operator fun Attribute<Double>.div(other: Double): Attribute<Double>
operator fun Attribute<Double>.div(other: Float): Attribute<Double>
operator fun Attribute<Double>.div(other: Int): Attribute<Double>
operator fun Attribute<Double>.div(other: Long): Attribute<Double>
operator fun Attribute<Double>.div(other: Short): Attribute<Double>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Double.div


@JvmName("divByte") operator fun Attribute<Float>.div(other: Attribute<Byte>): Attribute<Float>
@JvmName("divDouble") operator fun Attribute<Float>.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divInt") operator fun Attribute<Float>.div(other: Attribute<Int>): Attribute<Float>
@JvmName("divLong") operator fun Attribute<Float>.div(other: Attribute<Long>): Attribute<Float>
@JvmName("divShort") operator fun Attribute<Float>.div(other: Attribute<Short>): Attribute<Float>
operator fun Attribute<Float>.div(other: Attribute<Float>): Attribute<Float>
operator fun Attribute<Float>.div(other: Byte): Attribute<Float>
operator fun Attribute<Float>.div(other: Double): Attribute<Double>
operator fun Attribute<Float>.div(other: Float): Attribute<Float>
operator fun Attribute<Float>.div(other: Int): Attribute<Float>
operator fun Attribute<Float>.div(other: Long): Attribute<Float>
operator fun Attribute<Float>.div(other: Short): Attribute<Float>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Float.div


@JvmName("divByte") operator fun Attribute<Int>.div(other: Attribute<Byte>): Attribute<Int>
@JvmName("divDouble") operator fun Attribute<Int>.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Attribute<Int>.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divLong") operator fun Attribute<Int>.div(other: Attribute<Long>): Attribute<Long>
@JvmName("divShort") operator fun Attribute<Int>.div(other: Attribute<Short>): Attribute<Int>
operator fun Attribute<Int>.div(other: Attribute<Int>): Attribute<Int>
operator fun Attribute<Int>.div(other: Byte): Attribute<Int>
operator fun Attribute<Int>.div(other: Double): Attribute<Double>
operator fun Attribute<Int>.div(other: Float): Attribute<Float>
operator fun Attribute<Int>.div(other: Int): Attribute<Int>
operator fun Attribute<Int>.div(other: Long): Attribute<Long>
operator fun Attribute<Int>.div(other: Short): Attribute<Int>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Int.div


@JvmName("divByte") operator fun Attribute<Long>.div(other: Attribute<Byte>): Attribute<Long>
@JvmName("divDouble") operator fun Attribute<Long>.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Attribute<Long>.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divInt") operator fun Attribute<Long>.div(other: Attribute<Int>): Attribute<Long>
@JvmName("divShort") operator fun Attribute<Long>.div(other: Attribute<Short>): Attribute<Long>
operator fun Attribute<Long>.div(other: Attribute<Long>): Attribute<Long>
operator fun Attribute<Long>.div(other: Byte): Attribute<Long>
operator fun Attribute<Long>.div(other: Double): Attribute<Double>
operator fun Attribute<Long>.div(other: Float): Attribute<Float>
operator fun Attribute<Long>.div(other: Int): Attribute<Long>
operator fun Attribute<Long>.div(other: Long): Attribute<Long>
operator fun Attribute<Long>.div(other: Short): Attribute<Long>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Long.div


@JvmName("divByte") operator fun Attribute<Short>.div(other: Attribute<Byte>): Attribute<Int>
@JvmName("divDouble") operator fun Attribute<Short>.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Attribute<Short>.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divInt") operator fun Attribute<Short>.div(other: Attribute<Int>): Attribute<Int>
@JvmName("divLong") operator fun Attribute<Short>.div(other: Attribute<Long>): Attribute<Long>
operator fun Attribute<Short>.div(other: Attribute<Short>): Attribute<Int>
operator fun Attribute<Short>.div(other: Byte): Attribute<Int>
operator fun Attribute<Short>.div(other: Double): Attribute<Double>
operator fun Attribute<Short>.div(other: Float): Attribute<Float>
operator fun Attribute<Short>.div(other: Int): Attribute<Int>
operator fun Attribute<Short>.div(other: Long): Attribute<Long>
operator fun Attribute<Short>.div(other: Short): Attribute<Int>

Same as div, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling div in the transformation function.

This is simply a convenience function.

See Also

kotlin.Short.div