该代码可能与使用函数程序设计语言编写的那些很类似,不过它的额外优势在于该代码是自动并行执行的。
This code is very similar to what you might see in a functional programming language, with the additional benefit that it's automatically executed in parallel.
本文运用MATLAB软件对测量数据处理进行了尝试,并给出条件平差中水准网平差的函数程序。
In this paper, how to apply MATLAB to process measure data is attempted and how to programme the function of adjustment by condition equations in leveling net is described.
开发了通用MS CAN模块驱动程序,阐述了驱动程序文件组成、主要数据结构和功能函数,并给出了主要函数程序流程图。
Developed MSCAN module driver, explained structure of the key data and main functions in detail. The procedure flow charts of main functions are provided.
记住:函数是Clojure程序的基石。
Remember: Functions are the primary building blocks of programs in Clojure.
因此,预测函数或程序的输出容易得多,更容易调试和分析。
This makes predicting the output of the function or program much easier and, therefore easier to debug and analyze.
因此,开始你可以定义一个main函数,它是程序的入口点。
Therefore, you begin by defining the main function, which is the entry point to the program.
另一种方法将使用专用函数来运行外部程序。
The other method USES proprietary functions to run the external programs.
这包括通用文本替换系统,以及领域特有的程序和函数生成器。
This included generic textual-substitution systems, as well as domain-specific program and function generators.
只有字符串字段是至关重要的;它表示构成主程序的函数的名称。
Only the string field is significant; it is the name of a function that is the main program.
惟一的规则是必须先定义函数,然后才能在程序中使用它。
The only rule is that you need to declare the function before you can use it later in the program.
在任何对数据区域的引用生效前都必须在程序或函数中定义并声明它。
Data areas must be both defined and declared in a program or function before any reference to them becomes valid.
与其他语言一样,Erlang中的函数是所有程序的基本组成部分。
Functions in Erlang are the basic building blocks of any program, just as with any other language.
现在准备好了所有函数,您只需驱动程序以便进行测试。
Now have all of your functions, you just need something to drive the program so that you can test it.
在文件中指定模块名(必须与文件名匹配),然后指定模块中希望导出到装载此模块的其他程序的函数。
You specify the module name in the file (and the file name must match), and then specify the functions within the module that you want to export to other programs that load the module.
所定义的变量大多用于程序中的各种函数。
The variables defined will be used mostly in the various functions within the program. Consider the following function declarations.
此组件有一个函数,在程序调用的最早阶段由提要聚合器调用。
This component has one function, and it is called by the feed aggregator at the very beginning of the program invocation.
函数语言的名称源于这样一种概念:程序行为应该像数学函数一样;换句话说,给定一组输入,函数应始终返回相同的输出。
Functional languages get their name from the concept that programs should behave like mathematical functions; in other words, given a set of inputs, a function should always return the same output.
默认参数使程序获得了更高的灵活性,因为在您调用函数时,可以包含两个输入参数,也可以仅包含一个输入参数,甚至可以一个参数都不包含。
A default parameter provides greater flexibility to a program because you can include neither, one, or both of the input parameters when you call the function.
在进行其他GTK +调用之前,必须调用这个函数,并把调用程序使用的参数传递给它。
You must call this function and pass it the arguments your program was invoked with before any other GTK + call is made.
这个函数输出需要能力的程序的名称和被核查的能力。
This function prints the name of the program that requires capabilities and the capability being checked.
清单3提供了全局工作存储,可由程序中定义的所有函数访问。
Listing 3 provides the global working storage that is accessible by all functions defined in this program.
创建一个新的函数,你就可以把一组语句用一个名字来命名,这样你的程序读起来就清晰多了,后期维护调试也方便。
Creating a new function gives you an opportunity to name a group of statements, which makes your program easier to read and debug.
每个函数都在内部保存中间结果,程序员不必考虑这类细节。
Each function keeps its intermediate results internally, and you're not burdened with such details.
宏 INIT_WORK提供必需的初始化数据以及处理程序函数的配置(由用户传递进来)。
The INIT_WORK macro provides for the necessary initialization and setting of the handler function (passed by the user).
在测试中,调用ex版本的strsafe系列函数的程序会在调用失败时把缓冲区设为NULL,并以0xfe作为填充字节,代码如下。
For this test, the Ex versions of the strsafe functions set NULL on failure and 0xfe as the fill byte.
system-property()函数直接报告处理程序的功能。
The system-property() function reports directly on the capabilities of the processor.
这包括函数选择器、数据处理程序和数据绑定。
This includes function selectors, data handlers, and data bindings.
从而,在只是付出了一些指令的代价后,您的程序会拥有函数式程序的可证明性和命令式程序的速度和内存特性。
So, for the price of at most a few instructions, your program can have the provability of a functional program and the speed and memory characteristics of an imperative one.
但是,这些函数在特定情况下是非常方便的,如果正确地使用它们,可以显著提高应用程序的性能。
Well, it turns out that these functions come in handy in certain situations, and when used correctly they can drastically increase the performance of your application.
但是,这些函数在特定情况下是非常方便的,如果正确地使用它们,可以显著提高应用程序的性能。
Well, it turns out that these functions come in handy in certain situations, and when used correctly they can drastically increase the performance of your application.
应用推荐