对于这个函数,我们再次使用了一个简短的闭包注释。
For the function, we are once again using the shorthand closure notation.
没有形参的f函数和有两个int 型形参的f 函数对于这个函数调用来说都不可行。
The function that has no parameters and the one that has two int parameters are not viable for this call.
如果巧克力松糕变量的临界值可以是-1,那么目标函数就还可以改进 0.275,但是对于这个问题的具体情况来说,这当然没什么用处。
This marginal says that if the value of the brownie variable could ever be -1, the objective function would improve by 0.275, but of course that is not useful for this problem's setup.
因此在这个可行域中有多个点对于目标函数来说会产生相同的值。
So there are multiple points in the feasible region that yield the same value for the objective function.
这个函数也有一个回调;因此,对于每次遍历,都会有一些逻辑应用于收集的数据。
This function also has a callback; thus, for each iteration, some logic is applied to the data collected.
对于这个问题,一个解决方案是使用专门针对伸缩设计的函数语言。
One solution to this problem is to use a functional language designed to scale.
对于这个应用程序,有用于GPS功能、在数据库中访问和保存数据以及启动和停止应用程序的回调函数。
For this application, there are callbacks for GPS functions, opening and saving data to the database, and starting and stopping the application.
对于编制排名而言,最重要的问题是,是否存在一个线性函数,能够对这个四维的数据集进行降维,得到一个一维的数据集(生活质量指数)。
To create a ranking, the important question is whether there is a linear function that reduces this four-dimensional dataset to a one-dimensional set.
了解一些关于CouchDB如何存储这些结果的知识对于理解这个reduce函数很必要。
Some knowledge of how CouchDB stores these results is necessary to understand this reduce function.
我们将使用PHPtemplate引擎,所以对于内容announcement,这个主题函数名就是 phptemplate_announcement。
We are using the PHPtemplate engine, so our theme function name for the content announcement would be phptemplate_announcement.
为了避免这个问题,应当在构造函数中初始化复杂属性;然而,对于字符串、布尔值等简单属性则不需要这样做。
To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.
对于函数和常量,如果当前的名称空间不包含这个函数或常量,PHP的后退机制会后退到标准的php函数。
For functions and constants, if the current namespace does not contain that function or constant, PHP's fallback mechanism will fall back to the standard PHP function.
对于清单2中的这个函数,提取event的data属性,因为这是被线程发送的实际数据,然后将它发送给另一个函数来更新ui。
For the function in Listing 2, extract the data property of the event, as this is the actual data sent by the thread, and pass it to another function for updating the UI.
对于这么小的函数,这似乎太麻烦了,甚至有点过分,但是对于shell脚本编程新手和阅读这个函数的人员而言,注释是非常有价值的。
This may seem tedious and a bit of overkill for such a small function, but the value of the comments to a novice shell scripter or someone just looking at the function can be invaluable.
注意:对于这个场景,在运行时将这个DAD文件传递给DB 2XMLExtender分解函数。
Note: For this scenario, pass this DAD file to the DB2 XML Extender shred function at runtime.
有了show_users函数之后,接下来可以创建一个users . php文件,该文件将运行这个函数,并显示系统中所有用户的一个列表,对于每个用户,在用户名的旁边都有一个follow链接。
Now that you have the show_users function, you can create a users.php file that runs it and displays a list of all the users in the system, each with a link that says follow next to the user name.
对于主题ibc,函数名应该是ibc _ foo,这个函数可能在ibc主题目录中的template . php文件中。
For a theme called ibc, the function name would be ibc_foo and would probably exist within the template.php file within the ibc theme directory.
同样需要重视的是,折叠并不保证对任何地域(以语言划分)都是合适的,对于处理自然语言是不推荐使用这个函数。
It is also important to note that there can be no guarantee that folding is in any way culturally appropriate, and should not be used when dealing with strings in natural language.
尤其重要的是:本算法具有自动进行再启动的功能,使得这个算法对于非二次函数的最小值问题特别有效。
Moreover, this method also possesses an automatically restarting function, which makes it particularly effective for the minimization of a non-quadratic function.
我们必须记住对于任意一个感兴趣的输入输出组合,都可以写出这个频响函数。
We must remember that this frequency response function can be written for any one of the input-output combinations of interest.
应该是这个意思“用于近似(拟合)实验数据的函数对于反映实验的变化趋势的效果很差,有些时候远远小于真实(实验)数值。
The functions used in the approximation of the experimental data are poorly showing the trends of the results, sometimes considerably underestimating the real values.
对于只为一种精灵,意思是局部的,只有这个函数中,这个脚本中才可以用这个变量,这个变量为全部精灵而创建,意思是这个变量是全局的。
For this Sprite only, means local, only this function, only this script can use this variable, make this variable for all sprites, meant it was global.
对于函数优化这个问题,根据目标函数定义域的性质,可以分为离散函数最优化和连续函数最优化。
For function optimization problems, according to the nature of the objective function domain, can be divided into discrete function optimization and continuous function optimization.
对于函数优化这个问题,根据目标函数定义域的性质,可以分为离散函数最优化和连续函数最优化。
For function optimization problems, according to the nature of the objective function domain, can be divided into discrete function optimization and continuous function optimization.
应用推荐