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

atan2

@JvmName("atan2Float") fun atan2(y: Attribute<Float>, x: Attribute<Float>): Attribute<Float>
@JvmName("atan2Float") fun atan2(y: Attribute<Float>, x: Float): Attribute<Float>
@JvmName("atan2Float") fun atan2(y: Float, x: Attribute<Float>): Attribute<Float>
fun atan2(y: Attribute<Double>, x: Attribute<Double>): Attribute<Double>
fun atan2(y: Attribute<Double>, x: Double): Attribute<Double>
fun atan2(y: Double, x: Attribute<Double>): Attribute<Double>

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

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

This is simply a convenience function.

See Also

kotlin.math.atan2