Documentation / dataflow / com.femastudios.dataflow.extensions / cos
Go to reference

cos

@JvmName("cosFloat") fun cos(x: Field<Float>): Field<Float>
fun cos(x: Field<Double>): Field<Double>

Same as cos, but accepts Field and returns a new Field.

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

This is simply a convenience function.

See Also

kotlin.math.cos