We've added this notion of a function.
我们明白了函数的概念。
The prototype of a function can be defined in header files.
可以在头文件中定义函数原型。
And, it would be going towards higher values of a function.
它应指向函数值较大的一边。
So, here I have a contour plot of a function, and I have a blue vector.
我这里有一个函数的等值线图,还有一个蓝色的向量。
But they won't be the level curves of a function for which this is the gradient.
但它们不一定是,某个以该向量场为梯度的函数的等值线。
Only the string field is significant; it is the name of a function that is the main program.
只有字符串字段是至关重要的;它表示构成主程序的函数的名称。
An operation is a programmer's tool, offered to them in the familiar guise of a function call.
“操作”是给程序员的工具,它们打扮成程序员熟悉的函数调用。
So, if the gradient of a function is a vector, the divergence of a vector field is a function.
如果说函数的梯度是向量,那么向量场的散度就是函数。
Sometimes poor performance can be a result of a function being used more frequently than expected.
有时候,不必要地频繁调用一个函数会造成性能问题。
Shor's algorithm, for example, is able to find the period of a function of N bits in polynomial time.
例如 Shor的算法能在多项式时间内找到一个N位函数的周期。
One could also foresee custom iterators being created and used entirely within the scope of a function.
人们也可以预先自定义一些迭代器,在函数的整个作用域内创建并使用。
Function annotations associate expressions with parts of a function, such as parameters, at compile time.
函数注释会在编译时将表述与函数的某些部分(比如参数)相关联。
Careful readers of Listing 4 will have noted the use of a function, speakize , which is not detailed here.
细心的读者可能会发现清单4使用了speakize函数,这里我们不打算详细解释。
And then, for each little piece, you take the value of a function, and you multiply by the width of a piece.
对每个小段,用函数的值,与那一小段的长度相乘。
It tells you, if you take the line integral of the gradient of a function, what you get back is the function.
它说,如果你对一个函数的梯度做线积分,就能得到原函数。
These handles' lifetime is determined by a handle scope, which is often created at the beginning of a function call.
这些句柄的生存时间由句柄范围决定,句柄范围经常在一个函数的开始的时候被创建。
The first line of a function definition, also known as the method signature, begins with def (shorthand for define).
函数定义的第一行也称为方法签名(method signature),以def开头(def是define这个单词的缩写)。
The way we actually think of the double integral is really as summing the values of a function all around this region.
就二重积分来讲,它是对区域里函数值求总和。
Lotus Connections displays an error page (see figure 3) when an exception is thrown during the execution of a function.
当在执行一个函数期间抛出一个异常时,LotusConnections就会显示一个错误页面(见图3)。
The following example annotates the return value of a function. This is useful for checking the return type of a function.
如下的示例则注释了某函数的返回值。
The result of a function. If a function call is used as an expression, the return value is the value of the expression.
返回值:函数返回的结果。如果一个函数调用被用作了表达式,这个返回值就是这个表达式所代表的值。
In this scenario, performance would be superb, and transactions would complete in times approaching those of a function call.
在这种情况下,性能会非常出色,完成事务的时间可以接近一次函数调用的时间。
Tracing of exit/return value of a function is possible by applying trace hook at exit point and specifying function prototype.
通过在出口点应用跟踪钩子并指定函数原型,可以探测函数的退出/返回值。
A component implementation is generally described as the realization of an algorithm or other technical description of a function.
组件实现通常描述为算法的实现或功能的其他技术描述。
It is the same thing as, in one variable calculus, when you take the anti-derivative of a function it is only defined up to adding the constant.
相当于在一元微积分中,取一个函数的不定积分,仅仅需要在结果后加一个常数。
If you look at the separations between consecutive colors, these are the level curves of a function that tells you the temperature at a given point.
如果你们观察在连续颜色之间的分色,那些就是一个函数的等高线,它们告诉你在某一个给定点的温度。
If you want the federated server to push down the evaluation of a function to a relational data source, you must use a function mapping for that data source.
如果您希望联邦服务器将函数的计算下推到一个关系数据源,那么必须使用那个数据源的一个函数映射。
Choosing a name that explains the purpose of a function (as well as reducing the number of arguments the function takes) is a good way to ensure ease of use.
选择一个能够说明函数用途的名称(并减少函数使用的参数数量)是确保易于使用的一个好方法。
OK, so last time we saw how to use Lagrange multipliers to find the minimum or maximum of a function of several variables when the variables are not independent.
上次我们看了,怎样利用拉格朗日算子,去求解一个受约束的,多变量函数的最大最小值。
The most common use of exception handling is breaking out of a function to raise an exception to a caller (which may be the caller or a caller higher up the stack).
异常处理的最常见用法是中断一个函数,将异常提交给调用程序(可能是该调用程序,或者是堆栈中上级调用程序)。
应用推荐