模块可以像函数定义一样包含执行语句。这些语句通常用于初始化模块。
A module can contain executable statements as well as function definitions.
讨论了径向本征函数的像函数的递推关系,从而得出径向波函数的递推关系。
The recursion relation of the mirror function of radial eigenfunctions is discussed, and the recursion relation of radial wave function is obtained.
好的,你没必要把传给你的参数保存起来,像函数printf或者,或者你们看到的其他的函数,在超级课程中或闲逛的时候。
Well, you don't have to just take what you've been handed round in life, functions like print F or round or maybe other functions you've seen in super sections or by poking around.
接下来,创建一个简单的函数来阻止搜索表单表现得像典型的表单那样。
Next, create a simple function that prevents your search form from acting like a typical form.
既然它们已经被定义完毕,我们不妨来实施单元测试来执行函数及小部件以确保它们能像预期的那样运行。
Now that they have been defined, it would be great to implement unit tests that exercise the functions and the widgets to confirm they behave as expected.
它们还可以像普通函数一样内省到闭包中。
They can also introspect into a closure just like a normal function can.
这个例子说明可以像处理其他变量一样处理函数。
This example shows that I can treat a function just as I treat any other variable.
这种对附加方法的操作也可以像之前一样打包到一个函数工厂中,这将使最终决策延迟到运行时。
This manipulation of attached methods could also be wrapped in a function factory as before, deferring the final decision until runtime.
这种观点是直接从数学中借来的。在数学中,像“2 +3”这样的语句可以分析为:由“2”和“3”将“()+()”补充完整的函数表达式。
This view istaken over directly from mathematics, where sentences such as ‘2 + 3’ may beanalysed in terms of a function ‘( ) + ( )’ being completed by the arguments‘2’ and ‘3’.
也可以像清单27这样编写函数。
一旦在DB 2中定义好一个UDF,便可以像使用内置db2函数那样,在sql语句中使用这个UDF。
Once you define a UDF to DB2, you can use it in SQL statements just like you would use a built-in DB2 function.
这有一点像反范式(de - normalized),允许使用xmltable函数或带注释的模式非常容易而有效地进行分解。
It is somewhat de-normalized and allows for very easy and efficient shredding with either the XMLTABLE function or annotated schemas.
一旦创建了完成端口,通过调用CreateIoCompletionPort函数可以将一个套接字和完成端口进行绑定,像下面的方法。
Once a completion port is created, the association of a socket with the completion port can be done by calling the function CreateIoCompletionPort in the following way.
您只需记得Scala像许多函数语言一样允许使用代码块(aka函数)作为参数并根据需要使用它们即可。
You just need to remember that Scala, like many functional languages, allows you to take blocks of code — aka functions — as parameters and apply them as desired.
这可以像本例中一样通过将值传递给String函数来做到:eval (String (formula));。
This can be done by passing the value to the String function as in this example: eval (String (formula));.
strnlen_user函数也能像strnlen 那样使用,但前提是缓冲区在用户空间可用。
The strnlen_user function is used just like strnlen but assumes that the buffer is available in user space.
这里我声明另一个变量,这个完全是合法的因为我已经知道,如果我执行一个像swap,或,increment的函数,我完全可以携带输入。
X so here I'm declaring another variable called X, and this is totally legitimate because I already know that if I'm implementing a function like swap or increment, I can absolutely take input.
这通过像清单2一样递归地调用函数load -referenced - schemas来执行。
This is performed by recursively calling function load-referenced-schemas as in Listing 2.
EnsureDirExists函数的这个版本像之前一样,对所需的目录进行定位,并检测它是否存在。
In this version of the function, EnsureDirExists locates the required directory and detects whether it exists, exactly as before.
但是现在它看起来像x,,y,,z,的函数等于,0。
如果要像1.0中那样作为字符串匹配,使用xs:string类型转换函数。
To have them matched as strings, as was the case in 1.0, use the xs: string casting function.
showopts函数像以前一样分析选项,但是使用return语句将OPTIND变量的值返回给调用语句。
The showopts function analyzes the options as before, but USES the return statement to return the value of the OPTIND variable to the calling statement.
函数还可返回值(更为正式的说法是:对象),包括像tuple这样的python容器。
The function can also return a value (or, more formally, an object), including a Python container like a tuple.
函数语言的名称源于这样一种概念:程序行为应该像数学函数一样;换句话说,给定一组输入,函数应始终返回相同的输出。
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.
更何况,内部函数可以具有别名,看上去像方法调用一样。
What's more, inner functions can be aliased to look like method calls.
对于其他函数式语言,像LISP,存在并行扩展。
There are concurrent extensions for other functional languages like LISP.
它返回一个函数指针,可以像任何其他引用值一样使用它们。
It returns a pointer to the function, which can then be used like any other reference value.
像许多动态语言一样,这些函数在它们被定义的范围内创建了词法闭包。
These functions create a lexical closure on the scope in which they were defined like blocks in many dynamic languages.
这意味着离线储存数据、函数化,以及像真正的应用程序一样运行,而非仅仅是供浏览的内容。
This means storing data offline, being functional, and acting like a real app instead of just being content for perusal.
PHP拥有的任何其他打印函数将会像此函数一样运行正常,任何写回文件的函数也是一样的。
Any other printing functions PHP has will work equally well for this, as will any functions that write to files.
应用推荐