COT()

Description

The COT() function returns the cotangent of input number(given in radians).

Syntax

  1. > COT(number)

Arguments

ArgumentsDescription
numberRequired. Any numeric data type supported now.

Examples

  1. > drop table if exists t1;
  2. > create table t1(a int,b float);
  3. > insert into t1 values(1,3.14159);
  4. > insert into t1 values(-1,0);
  5. > select cot(a),cot(b) from t1;
  6. +---------+--------+
  7. | cot(a) | cot(b) |
  8. +---------+--------+
  9. | -0.5574 | 1.0000 |
  10. | 2.5574 | 1.0000 |
  11. +---------+--------+

Constraints

Currently, MatrixOne doesn’t support select function() without from tables.