描述4Gt28資訊網(wǎng)——每日最新資訊28at.com
Python3 atan2() 返回給定的 X 及 Y 坐標(biāo)值的反正切值。4Gt28資訊網(wǎng)——每日最新資訊28at.com
語法4Gt28資訊網(wǎng)——每日最新資訊28at.com
以下是 atan2() 方法的語法:4Gt28資訊網(wǎng)——每日最新資訊28at.com
import math4Gt28資訊網(wǎng)——每日最新資訊28at.com
math.atan2(y, x)4Gt28資訊網(wǎng)——每日最新資訊28at.com
注意:atan2()是不能直接訪問的,需要導(dǎo)入 math 模塊,然后通過 math 靜態(tài)對象調(diào)用該方法。4Gt28資訊網(wǎng)——每日最新資訊28at.com
參數(shù)4Gt28資訊網(wǎng)——每日最新資訊28at.com
x -- 一個(gè)數(shù)值。4Gt28資訊網(wǎng)——每日最新資訊28at.com
y -- 一個(gè)數(shù)值。4Gt28資訊網(wǎng)——每日最新資訊28at.com
返回值4Gt28資訊網(wǎng)——每日最新資訊28at.com
返回給定的 X 及 Y 坐標(biāo)值的反正切值。4Gt28資訊網(wǎng)——每日最新資訊28at.com
實(shí)例4Gt28資訊網(wǎng)——每日最新資訊28at.com
以下展示了使用 atan2() 方法的實(shí)例:4Gt28資訊網(wǎng)——每日最新資訊28at.com

以上實(shí)例運(yùn)行后輸出結(jié)果為:4Gt28資訊網(wǎng)——每日最新資訊28at.com
本文鏈接:http://www.tebozhan.com/showinfo-119-2408-0.html云計(jì)算開發(fā):Python3三角函數(shù)atan2()方法詳解
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。郵件:2376512515@qq.com
上一篇: 從1小時(shí)到3.5分鐘,Meta新算法一部手機(jī)搞定3D人臉數(shù)據(jù)采集
下一篇: 微軟云計(jì)算副總裁將離職:被指辱罵員工
標(biāo)簽: