求余算法在程序语言中的运用  

Application of Arithmetical Complement in Program Language

在线阅读下载全文

作  者:邓承浩[1] 李小江[1] 

机构地区:[1]同济大学机械工程学院

出  处:《计算机仿真》2009年第6期331-333,共3页Computer Simulation

摘  要:随着程序语言的不断发展,通过程序来仿真各种机构的运动变得十分普遍。传统的程序语言根据主从动件位置的对应关系,通过主动件计算从动件的角位移,算法繁琐,可读性不强。求余算法可以有效地降低程序的冗余度,增强程序的可读性。特别是对槽轮机构、齿轮机构及棘轮机构等一系列周向循环机构的动画演示程序,效果显著。通过槽轮机构的VB动画演示程序,介绍了求余算法的原理、特点和算法实现,并简单介绍了算法在数据结构循环队列中的运用,对算法做了拓展。It becomes much more common to simulate the motion of machines as the development of the program language. The traditional language calculates the angle position of the driven component by the driver, it is complicated and crabbed. The arithmetic of arithmetical complement can avoid unnecessary tautology also enhance readability especially for the program of circumferential and circulative machines such as Geneva mechanism, gear mechanism and ratchet mechanism. The theory, peculiarity and arithmetic are discussed through Visual Basic language of Geneva mechanism. Also it is extended to cirular queue in data structure.

关 键 词:求商 取余 循环结构 槽轮机构 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象