有大量样板文件的程序,但是无法抽象成函数
Programs that have a lot of boilerplate code that cannot be abstracted into functions
但二次多项式只能拟合x坐标与Y坐标之间成函数关系的点序列,无法拟合闭合曲线。
But the quadratic curve can be used only in condition when each X-coordinate of the points sequence mapping to only one Y-coordinate, so it can't be used in fitting closing curve.
机场分析,一套针对给定的机场跑道的详细重量限制资料。通常与机场温度、风、和飞机襟翼位置成函数关系。
AIRPORT ANALYSIS, A comprehensive set of takeoff weight limitations for a given airport runway, generally presented as a function of airport temperature, wind, and aircraft flap setting.
必须将最核心的功能分解成逻辑模块,要执行它们的任务,应用程序必须使用这些模块提供的函数。
Most core functionality must be separated into logical modules and to do their tasks, your applications must use the functions that these modules provide.
不要将常数定义成变量或函数。
现在,如果可以,最好是能够将这些样板部分抽象成一个函数。
Now, if you can, it's best to abstract out the boilerplate portions into a function.
当需要依赖时,它们最好定义成通用业务流程、函数和数据模型,而不是实现构件(比如会话密钥)。
When dependencies are required, they are best defined in terms of common business processes, functions, and data models, not implementation artifacts (like a session key).
通过表示程序,把程序中函数和数据表示成二维的图片——就像图标,按钮和窗口一样——GUI使得原本需要耗费体力仔细记忆的内容变得直观和容易理解。
By representing programs, program functions, and data as two-dimensional images - like ICONS, buttons and Windows - the GUI made intuitive and spatial what had been memory intensive and laborious.
不论你将,这两个角度,取成什么值,波函数的角向部分,都是,相同的。
No matter where you specify your electron is in terms of those two angles, it doesn't matter the angular part of your wave function is going to be the same.
相反的,密码要存储成某个hash函数的输出。
Instead, passwords are stored as the output of a hash function.
Concat函数将来自源的两个或多个字符串在目标端连接成一个单一的字符串值。
The Concat function will concatenate two or more strings from the source into a single string value on the target side.
记住我们可以把整体波函数,分解成径向部分和角向部分。
So, remember we can break up the total wave function into the radial part and the angular part.
Rope类被设计成不可修改,这意味着mutator函数永远不会修改原来的Rope实例,而是返回一个修改后的副本。
The Rope class is designed to be immutable, meaning that mutator functions never modify the original Rope instance, but, rather, return a modified copy.
一旦将字符串分解成序列,就可以用新的序列操作函数如insert - before来修改它。
Once you separate the string into a sequence, you can also use the new sequence-manipulation functions, such as insert-before , to alter it.
反过来,有一个关于x和y的函数,也可以表示成极坐标r和θ
Or, the other way around, I have a function of x and y and I want to express it in terms of the polar coordinates r and theta.
原型则是另一个重要的新特性,任何可能的时候都可以使用(但是并不需要将原有函数翻新成原型)。
Prototypes are another important feature, and should be used whenever possible (but not to "retrofit prototypes onto [old functions]").
在函数式语言中,程序被定义成由其他函数组成的函数,函数求值形成最终的结果。
In a functional language, a program is defined as a function composed of other functions, the evaluation of which leads to the final result.
要把配分函数分解成,子系统的配分函数。
So it's the separation of the partition functions into subsystem partition functions.
不太久之前编程语言还可以毫无疑义地归类成“命令式”或者“函数式”。
Until relatively recently programming languages have fit neatly into either "imperative" or "functional" categories.
这将导致关键字记录为0(但仍然返回匹配的结果),并且函数值将是记录的唯一组成部分。
This will cause the keyword score to be zero (but the matching documents will still be returned) and the function value to be the sole component of the score.
为了验证该函数确实按照所设计的方式工作,我们需要再次将每个整型数字转换成二进制数字,对每一个位执行EXLUSIVE OR运算,然后将结果还原成integer。
To verify that the function indeed works as designed, we, again, need to convert each integer to BINARY, perform EXLUSIVE or for each bit, and then convert the result back to integer.
相反,惟一的构造函数被设计成接受Customer对象。
Instead, the lone constructor is designed to accept a Customer object.
清单5显示的GBean被定义成使用构造函数注入来提供Customer引用。
Listing 5 shows a GBean that's defined to use constructor injection to provide a Customer reference.
这意味着,你能够使用MonoTouch的核心程序集来编译标准的。NET 3.5代码成相应的函数库,并在你的应用程序中使用它们。
This means that you can compile standard.net 3.5 code libraries using the MonoTouch core assemblies and use them in your application.
采用将圆电流磁矢势表达式中一部分展成级数,使被积函数变成可积分的函数。
A part of results on magnetic vector potential of circular loop are expanded, so the integral function is transformed to integrable series.
把函数分解成小函数当然会带来大量的小函数。
Breaking methods up into smaller ones obviously leads to lots of smaller methods.
自动驾驶仪的增益设计成滚动速率和动压的函数,用最小二乘法曲线拟合,为每个增益选择数学模型。
The autopilot gains are scheduled as functions of the dynamic pressure and the roll rate, the model is selected for each gain by a least squares curve fitting.
如果一个函数运行时间太长,那么查看它是否可以分解成一系列能够短时间完成的较小的函数。
If a single function is taking too long to execute, check to see whether it can be broken down into a series of smaller functions that complete in smaller amounts of time.
对静力问题,将指数矩阵函数展成级数来求解;对动力问题,采用状态空间迭代法来求解。
The exponential matrix function exhibition series was applied to solve the static problem; adopt the state space iterative method was applied to solve dynamic problem.
对静力问题,将指数矩阵函数展成级数来求解;对动力问题,采用状态空间迭代法来求解。
The exponential matrix function exhibition series was applied to solve the static problem; adopt the state space iterative method was applied to solve dynamic problem.
应用推荐