论文部分内容阅读
本文以流动重力测量成果整理的程序设计为例,介绍了计算机的编译方法在编制数值计算程序中的应用,着重叙述了在程序设计中,如何按照观测技术规范的要求,对输入数据规定一套语法法则,以及如何通过扫描、状态语法分析的编译方法,对数据进行分析、判断、处理和计算。使用这样的程序具有数据准备简单,上机操作方便,结果准确一致的优点。
In this paper, we take the example of the program design of the mobile gravity measurement as an example, introduce the application of computer compilation method in compiling numerical calculation program, and emphatically describe how to stipulate a set of input data in the program design according to the requirement of observation technical specification Grammatical rules, and how to analyze, judge, process and calculate the data through the compilation methods of scanning and state grammar analysis. The use of such a program has the advantages of simple data preparation, easy operation on the machine and accurate and consistent results.