-
HALCON
算子函數——
Chapter
18 : Tuple
18.1
Arithmetic
1.
tuple_abs
功能:計算一個元組的絕對值。
2.
tuple_acos
功能:計算一個元組的反余弦。
3.
tuple_add
功能:兩個元組相加。
4.
tuple_asin
功能:計算一個元組的反余弦。
5.
tuple_atan
功能:計算一個元組的反正切。
6.
tuple_atan2
功能:計算一個元組四個象限的反正切。
7. tuple_ceil
功能:計算一個元組的上限函數。
8. tuple_cos
功能:計算一個元組的余弦。
9. tuple_cosh
功能:計算一個元組的雙曲余弦。
10. tuple_cumul
功能:計算一個元組的累計和。
11. tuple_deg
功能:將一個元組從弧度轉換為角度。
12. tuple_div
功能:將兩個元組相除。
13.
tuple_exp
功能:元組的指數運算。
14. tuple_fabs_
功能:計算一個元組(例如浮點數)的絕對值。
15. tuple_floor
功能:計算一個元組的「地板函數」
。
16. tuple_fmod
功能:計算兩個元組浮點數相除的余數。
17. tuple_ldexp
功能:計算兩個元組的返回長雙精度指數函數。
18. tuple_log
功能:計算一個元組的自然對數。
19. tuple_log10
功能:計算一個元組底為
10
的對數。
20.
tuple_max2
功能:計算兩個元組的元素寬度的最大值。
21. tuple_min2
功能:計算兩個元組的元素寬度的最小值。
22. tuple_mod
功能:計算兩個元組整型數相除的余數。
23. tuple_mult
功能:兩個元組相乘。
24.
tuple_neg
功能:將一個元組取反。
25. tuple_pow
功能:計算兩個元組的冥函數。
26. tuple_rad
功能:將一個元組從角度轉換為弧度。
27. tuple_sgn
功能:計算一個元組的正負。
28.
tuple_sin
功能:計算一個元組的正弦。
29. tuple_sinh
功能:計算一個元組的雙曲正弦。
30. tuple_sqrt
功能:計算一個元組的平方根(二
次方根)
。
31.
tuple_sub
功能:兩個元組相減。
32. tuple_tan
功能:計算一個元組的正切。
33.
tuple_tanh
功能:計算一個遠足的雙曲正切。
18.2
Bit-
Operations
1.
tuple_band
功能:計算兩個元組的按位運算。
2. tuple_bnot
功能:兩個元組逐位取邏輯非。
3. tuple_bor
功能:計算兩個元組的按位運算。
4. tuple_bxor
功能:兩個元組逐位進行互斥邏輯或運算。
5. tuple_lsh
功能:元組逐位左移。
6. tuple_rsh
功能:元組逐位右移。
18.3
Comparison
1. tuple_equal
功能:測試兩個元組是否相同。
2. tuple_greater
功能:測試一個元組是否大於另一個元組。
3. tuple_greater_equal
功能:測試一個元組是否大於等於另一個。
4. tuple_less
功能:測試一個元組是否小於另一個元組。
5. tuple_less_equal
功能:測試一個元組是否小於等於另一個。
6. tuple_not_equal
功能:測試兩個元組是不是不等。