ATAN()

Description

The ATAN() function returns the arctangent(given in radians) of the input number.

Syntax

  1. > ATAN(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(0,1);
  5. > select atan(a),atan(tan(b)) from t1;
  6. +---------+--------------+
  7. | atan(a) | atan(tan(b)) |
  8. +---------+--------------+
  9. | 0.7854 | -0.0000 |
  10. | 0.0000 | 1.0000 |
  11. +---------+--------------+

Constraints

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