



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
7.6保留字abs acos and asin assign atan atan2 band bnot bor break bxor catch ceil chr chrt comment continue cos cosh cumul deg deviation else elseif endfor endif endtry endwhile environment exit exp export_def fabs false find floor fmod for gen_tuple_const global H_MSG_FAIL H_MSG_FALSE H_MSG_TRUE H_MSG_VOID if ifelse insert int inverse is_number ldexp log log10 lsh max max2 mean median min min2 not number or ord ords pow rad rand real regexp_match regexp_replace regexp_select regexp_test remove repeat return round rsh select_rank sgn sin sinh sort sort_index split sqrt stop strchr strlen strrchr strrstr strstr subset sum tan tanh throw true try uniq until while xor 7.9 Summary of HDevelop operationsTuple 为笛卡尔积中的元素Functionality HDevelop Operation HALCON operator Concatenation连接t1,t2 tuple_concat number of elements元素个数|t| tuple_length select tuple element选择元素ti tuple_select select tuple slice选择部分元素ti1:i2 tuple_select_range select elements选择元素subset(t,i) tuple_select remove tuple elements清除元素remove(t,i) tuple_remove lookup tuple values查找元素find(t1,t2) tuple_find unify tuple elements去掉连续重复元素uniq(t) tuple_uniq tuple creation创建数组gen_tuple_const(i1,i2) tuple_gen_const Division除a1 / a2 tuple_div Multiplication乘a1 * a2 tuple_mult Modulo取模a1 % a2 tuple_mod Addition加a1 + a2 tuple_add Subtraction减a1 - a2 tuple_sub Negation求负数-a tuple_neg left shift左移lsh(i1,i2) tuple_lsh right shift右移rsh(i1,i2) tuple_rsh bitwise and按位与i1 band i2 tuple_band bitwise xor按位异或i1 bxor i2 tuple_bxor bitwise o按位或i1 bor i2 tuple_bor bitwise complement按位求补i + bnot i = -1bnot i tuple_bnot string conversion转换字符串v$s tuple_string string concatenation连接字符串v1 + v2 tuple_concat search character搜索字符strchr(s1,s2) tuple_strchr search character (reverse)向后搜索字符strrchr(s1,s2) tuple_strrchr Search string搜索字符串strstr(s1,s2) tuple_strstr search string (reverse)向后搜索字符串strrstr(s1,s2) tuple_strrstr length of string字符串长度strlen(s) tuple_strlen select character选择字符si tuple_str_bit_select select substring选择字符串si1:i2 tuple_str_bit_select split string分割字符串split(s1,s2) tuple_split regular expression match regexp_match(s1,s2) tuple_regexp_match regular expression replace regexp_replace(s1,s2,s3) tuple_regexp_replace regular expression select regexp_select(s1,s2) tuple_regexp_select regular expression test regexp_test(s1,s2) tuple_regexp_test less than t1 t2 tuple_greater less or equal t1 = t2 tuple_greater_equal equal t1 = t2 tuple_equal not equal t1 # t2 tuple_not_equal logical and l1 and l2 tuple_and logical xor l1 xor l2 tuple_xor logical or l1 or l2 tuple_or negation not l tuple_not sine sin(a) tuple_sin cosine cos(a) tuple_cos tangent tan(a) tuple_tan arc sine asin(a) tuple_asin arc cosine acos(a) tuple_acos arc tangent atan(a) tuple_atan arc tangent2 atan2(a1,a2) tuple_atan2 hyperbolic sine sinh(a) tuple_sinh hyperbolic cosine cosh(a) tuple_cosh hyperbolic tangent tanh(a) tuple_tanh exponential function exp(a) tuple_exp natural logarithm log(a) tuple_log decadic logarithm log10(a) tuple_log10 power function pow(a1,a2) tuple_pow ldexp function ldexp(a1,a2) tuple_ldexp minimum min(t) tuple_min element-wise minimum min2(t1,t2) tuple_min2 maximum max(t) tuple_max element-wise maximum max2(t1,t2) tuple_max2 sum function sum(t) tuple_sum mean value mean(a) tuple_mean standard deviation deviation(a) tuple_deviation cumulative sum cumul(a) tuple_cumul median median(a) tuple_median element rank select_rank(a,i) tuple_select_rank square root sqrt(a) tuple_sqrt radians to degrees deg(a) tuple_deg degrees to radians rad(a) tuple_rad integer to real real(a) tuple_real real to integer int(a) tuple_int real to integer round(a) tuple_round absolute value abs(a) tuple_abs floating absolute value fabs(a) tuple_fabs ceiling function ceil(a) tuple_ceil floor function floor(a) tuple_floor fractional part fmod(a1,a2) tuple_fmod element-wise sign sgn(a) tuple_sgn sort elements sort(t) tuple_sort sort elements (returns index) sort_index(t) tuple_sort_index reverse element order inverse(t) tuple_inverse test for numeric value is_number(v) tuple_is_number string to number number(v) tuple_number environment variable environment(s) tuple_environment c
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 软件技术专业教学标准(高等职业教育专科)2025修订
- 2025年中国紧急救援和其他救助服务行业市场全景分析及前景机遇研判报告
- 2025年中国建筑护板行业市场全景分析及前景机遇研判报告
- 2025年中国咖啡器具行业市场发展监测及投资前景展望报告
- 癌症患者情绪疏导
- 防爆培训课件
- 中国维生素B12行业市场调查研究及投资规划建议报告
- 2020-2025年中国摩托车铝轮行业市场调研分析及投资前景预测报告
- 2024年中国四氯吡啶行业市场调查报告
- 2025年 云南省行测考试试题附答案
- 典当行组织架构和岗位设置
- 2023-2024学年内蒙古自治区锡林浩特市小学语文五年级期末自我评估试题
- 【课件】自律主题班会
- LS/T 1201-2020磷化氢熏蒸技术规程
- GB/T 24025-2009环境标志和声明Ⅲ型环境声明原则和程序
- GB/T 18402-2001纸浆滤水性能的测定(滤水时间法)
- GB/T 156-2017标准电压
- 分包工程竣工验收单
- 《半导体及二极管》教学课件
- 2023年遵义交旅投资(集团)有限公司招聘笔试题库及答案解析
- 医药代表专业化拜访技巧培训课件
评论
0/150
提交评论