当需要迭代大量整数时,xrange方法更适用,因为它不会创建极大的list,那样会消耗大量计算机内存。
The xrange method is preferred when you need to iterate over a large number of integers because it won't create the full list, which could consume a large quantity of your computer's memory.
在我的桌面计算机上,一百万次迭代需要大约12秒钟才能完成。
On my desktop machine, one million iterations takes about 12 seconds to complete. The pooling code avoids the allocation of the MyClass object within the loop
采用迭代方法和编制的VB - 5计算机程序进行了计算,并绘制了倾斜地层中井眼围岩发生剪切滑移破坏典型的关系曲线。
The iterative method and VB-5 computer program are applied to solve the equations, and the typical relationship curves about shear slip failure of the rock around borehole are drawn out.
理论计算和计算机模拟实验结果显示,模糊控制迭代算法的迭代结果其振幅均方误差为0.69%,振幅不均匀度为1.01%。
Computer simulation experiment, as well as theoretical research show that the amplitude mean square error of the iterative output derived from IAFC is 0.69%, and the amplitude un-uniformity is 1.01%.
完全可以使用计算机对柯氏公式进行迭代求解,但首先必须解决迭代计算的收敛区间问题,这个问题目前尚无明确的结论。
At present, computer can be used to iteratively solving Colebrook's formula, but first the problem about the convergence interval of iterative calculation must be solved.
研究了点集序列迭代生成的计算机算法,强调非规则几何对象与规则几何对象造型格式的统一。
In this paper, by using iterative procedure, the authors investigate generation of point set sequences for the algorithm, especially the integration of irregular geometric models with regular ones.
计算机模拟结果表明,经200 ~ 300次迭代运算后,系统冲激响应抽样估计值误差小于0.01。
The computer simulation results have shown that the estimation error of the system impulse response samples are smaller than 0.01 after the 200-300-iteration operation.
计算机仿真结果表明在不降低译码性能和不增加系统复杂度的情况下,使用该方法可以有效地减小平均迭代次数和译码延时,尤其是在大信噪比时,效果更好。
The simulation result shows the proposed scheme can reduce decoding delay and average number of iterations with negligible decoding complexity and performance degradation, especially in large SNR.
根据散射光强分布与固体微粒直径的关系,用数学迭代法结合计算机技术对数据进行处理,快速获得固体微粒直径大小。
Based on the relation of the light energy distribution and the particle diameter, the particle diameter is obtained quickly by data processing with mathematical iterative and computer technology.
基于多重线涡模型(MLVM),本文建立了一种计算机时少、收敛性强的适用于大迎角涡流势流数值模拟的迭代算法。
A robust iterative method suitable for the numerical simulation of vortex flows at high angles-of-attack is established based upon the multiple line-vortex model (MLVM).
第一部分主要讨论了在编写计算机辅助设计程序时对曲线、图表以及迭代的处理。
In the first part, the treating of curve, chart and iteration is discussed mainly in the CAD programming.
实例分析表明,该估计法优于传统的曲线直线化法,与计算机非线性迭代估计法相当。
Examples showed that this method was better than classical method of linearization, which was comparable to nonlinear iterative estimating procedure.
对保温设计的目标函数,采用局部求优,逐步迭代的方法,实现了多层保温经济厚度计算机求解。
Based on the objective function, local optimum and iterative method were adopted to get a computer solution on the optimum economical thickness.
采用高斯消去法和欠松弛迭代法并应用计算机对这些方程进行数值求解,从而计算出各支路的流量。
The equations are solved numerically using the method of Gauss elimination and under-relaxation iteration by computor, thus the air flows in every branch are determined.
计算量及计算机内存量过大是波动方程迭代反演中所面临的主要困难之一。
Too much computation and too big internal storage to be used are the main troubles we face in the iterative inversion of wave equation.
利用计算机进行迭代计算,得到了梯形渠道深宽比与宽深比的求解表。
By means of iteration, a table is achieved for the solution of depth to width ratio and width to depth ratio of trapezoidal channels.
此迭代法求解公式不仅收敛快,计算精度高,应用方便,而且可供计算机程序求解。
This iteration calculation formula possessed properties including fast convergence, high accuracy and convenience for use, and can be operated through computer program.
在手工设计计算时要经过多次迭代计算,十分烦琐费时,而应用计算机时,设计计算就很方便有效。
When manual design calculation must undergo many times the iterative computation, very troublesome time-consuming, but using computer time, the design calculation is very convenient effectively.
通过计算机模拟,得到迭代修正后精确的近场值。
By computer simulation, a fairly accurate correction value can be obtained.
文中给出了适合MPP大规模并行计算机的并行子空间迭代法。
A parallel sub space method suitable to MPP parallel computer is presented.
本文提出了一个应用计算机的迭代求解法,并讨论了它的收敛性和采用有限维近似的问题。
In this paper, we give an iterative method of computation to resolve this problem. The convergence of the method and the problem in relation to finite dimension approximation are discussed.
从单幅图像获得物体的表面高度是计算机视觉中的一个重要研究领域,迭代算法的计算精确度高,但收敛速度较慢。
Extracting surface depth from a shaded image (SFS) is one of the classic problems in computer vision. Many iterative algorithms correspond to a feasible surface, but converge slowly.
随着计算机运算速度的飞速发展,以前只是被看成一种研究方法的迭代算法在图像重建中越来越引起人们的重视,并且已经在科研、工业和医学领域中得到了实际应用。
As the calculation speed of the CPU is fast developed, more consideration is paid to the iterative algorithms in tomographic reconstruction, which were only experimented as a research method before.
通过研究三角形多面体模型节点偏导数的计算方法,对目标函数进行线性化处理,形成了计算机自动迭代修改模型体的技术。
By researching the partial derivative calculation of model vertex and linearity treating field function using Taylor series, the 3D models can be changed via automatic optimization;
为获得一个具有理论和实际应用价值的关于数字混沌系统的周期及周期分布的经验关系,本文研究了计算机迭代下基于浮点格式的数字混沌系统的周期及其分布规律。
To get an empirical relation with more theoretical and applicative value, the periods and their distribution of digital chaotic systems based on floating-point formats are studied in this paper.
为获得一个具有理论和实际应用价值的关于数字混沌系统的周期及周期分布的经验关系,本文研究了计算机迭代下基于浮点格式的数字混沌系统的周期及其分布规律。
To get an empirical relation with more theoretical and applicative value, the periods and their distribution of digital chaotic systems based on floating-point formats are studied in this paper.
应用推荐