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

gcd

fun Attribute<BigInteger>.gcd(val: Attribute<BigInteger>): Attribute<BigInteger>
fun Attribute<BigInteger>.gcd(val: BigInteger): Attribute<BigInteger>

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

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

This is simply a convenience function.

See Also

java.math.BigInteger.gcd