Skip to content

cos

relationalai.semantics.std.math
cos(value: NumberValue) -> Expression

Compute the cosine.

Parameters

  • value

    (NumberValue) - The angle in radians.

Returns

  • Expression - An Expression computing cos(value). Returns Float.

Examples

Compute cosine:

select(math.cos(0))
select(math.cos(Wave.angle))