Apache Tajo - atan2(y,x)



讓我們使用以下查詢來檢查 atan2(y/x) 函式。

查詢

default> select atan2(1.7,0.5) as tangent;

結果

上述查詢將生成以下結果。

tangent 
------------------------------- 
1.2847448850775784 

輸出生成 (y/x) 的反正切值。此處,給定的反正切值 (1.7/0.5) 為 1.2847448。

apache_tajo_math_functions.htm
廣告
© . All rights reserved.