atan2
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <math.h> 中定义
|
||
| float atan2f( float y, float x ); |
||
| double atan2( double y, double x ); |
||
| long double atan2l( long double y, long double x ); |
||
计算使用的参数的迹象,以正确确定象限的反正切值
y/x. 原文:
Computes the inverse tangent of
y/x using the signs of arguments to correctly determine quadrant. 目录 |
[编辑] 参数
| x, y | - | 浮点值
|
[编辑] 返回值
圆弧相切的弧度的范围内
y/x弧度[-π; π].原文:
Arc tangent of
y/x in radians in the range of [-π; π] radians.[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| 计算反正切值(arctan(x)) (函数) | |
| 计算弧的正弦(arcsin(x)) (函数) | |
| 计算反余弦(arccos(x)) (函数) | |
| 计算角正切(tan(x)) (函数) | |
| C++ documentation for atan2
| |