期刊文献+

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

Application of Arithmetical Complement in Program Language
下载PDF
导出
摘要 随着程序语言的不断发展,通过程序来仿真各种机构的运动变得十分普遍。传统的程序语言根据主从动件位置的对应关系,通过主动件计算从动件的角位移,算法繁琐,可读性不强。求余算法可以有效地降低程序的冗余度,增强程序的可读性。特别是对槽轮机构、齿轮机构及棘轮机构等一系列周向循环机构的动画演示程序,效果显著。通过槽轮机构的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.
出处 《计算机仿真》 CSCD 北大核心 2009年第6期331-333,共3页 Computer Simulation
关键词 求商 取余 循环结构 槽轮机构 Quotient Arithmetical complement Circulative machine Geneva mechanism
  • 相关文献

参考文献5

二级参考文献4

共引文献32

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部