Function cot() calculates the cotangent value of a radian.
Arguments:
Returns:
Example: Calculate the cotangent value of degree 45°
UQLreturn cot(45 * pi() / 180)
Result1
Example: Calculate the cotangent value of each row (radian) of an alias
UQLuncollect [1, 2.5, 3] as a return cot(a)
Result0.642092615934331 -1.33864812830415 -7.01525255143453