,这是我们写的计算平方根的代码,计算完全全平方根的。
It's the piece of code we wrote for computing square roots, square roots of actually perfect squares.
证明了:若用QR分解所作的算法无需计算平方根,则相应的迭代加细算法也无需计算平方根。
It is shown that, if algorithms for performing the QR decomposition are free from calculation of square root, the related iterative refinement algorithms can also be square root free.
牛顿法是算法的一个例子:通过一系列机械的步骤来解决一类问题(在本章中是用来计算平方根)。
Newton's method is an example of an algorithm: it is a mechanical process for solving a category of problems (in this case, computing square roots).
我可以检验它,因此如果这是其它计算的一部分我想知道,它能否找到一个完全平方根呢?
I can check it, so if this was part of some other computation, I want to know, did it find a perfect square or not?
假设我想在一大段代码中,计算很多次平方根。
Suppose I want to compute square roots a lot of places in a big chunk of code.
在结束此话题之前,我可以举一个有关前置和后置条件的简单例子:一个例程要计算一个实数的平方根。
Before moving on I can describe a very simple example of pre - and post-conditions: a routine that computes the square root of a real number.
这个脚本计算了5的平方根,但没存储下来,也没有显示出来,所以就根本没用了。
This script computes the square root of 5, but since it doesn't store or display the result, it is not very useful.
此示例通过对两个变量应用SQUARE函数然后计算其和的平方根,返回直角三角形第三边的长度。
This example returns the length of the third side of a right triangle by applying the SQUARE function to two variables and then calculating the square root of their sum.
它也可以计算百分数和平方根。
当夏洛特·霍布斯决定教她11岁的学生用来计算负数平方根的虚数时,她知道这是一个艰巨的任务。
WHEN Charlotte Hobbs decided to teach her 11-year-old pupil about the "imaginary" maths needed to work out the square root of a negative number, she knew it would be a stretch.
本文给出了在预定精确度下用迭代法计算算术平方根的方法,并分析了迭代的误差,给出了预定精确度下初始值的一个选取范围。
This paper gives a method to calculate the arithmetic square root by iteration with given accuracy, analyses the iteration error and provides a selected range of initial value with the given accuracy.
为了解决滤波器数值计算不稳定问题,实践中提出并应用了许多方法,如自适应滤波、固定增益滤波、平方根滤波等。
To deal with filter value calculation instability, people put forward and carry out lots of methods in practice such as self-adaptive filter, fixed amplitude filter and square root filter, etc.
现行建筑内部给水、排水设计秒流量计算方法有平方根法、经验法和概率法等。
Currently the methods of design flow rate for domestic drainage which are popularly used in the world include square root method, experience method and probability method.
本文提出的基于起伏地表的叠加速度分析方法,应用双平方根方程计算反射波的旅行时间,可适用于地形起伏剧烈地区。
The method of stack velocity analysis based on relief surface presented in the paper uses double-square-root equation to compute the travel time of reflections, which is suitable to use in the area w.
采用滤失速度与滤失时间的平方根成反比的经典滤失理论计算水平缝中受净压力影响的压裂液滤失速度会带来较大误差。
Classic filtration theory will cause bigger errors to calculate filtration rate of fracturing fluid influenced by net pressure of horizontal fractures.
计算结果与传统的凝固平方根定律相吻合,从而可确定平方根定律的凝固系数。
The results calculated with the given formula are almost the same as that calculated with the solidification square root law , so that the solidification coefficient can be determined.
讨论了雨滴平均直径、平均运动速度、平均降落速度和雨滴加权平方根速度的概念及其计算方法,建立了雨滴平均直径和各种降落速度与雨强、动能的函数关系式。
The paper discussed the average diameter of rain drop, average velocity of moving and falling and the conception of weighted velocity in square root as well as the me - tho...
讨论了雨滴平均直径、平均运动速度、平均降落速度和雨滴加权平方根速度的概念及其计算方法,建立了雨滴平均直径和各种降落速度与雨强、动能的函数关系式。
The paper discussed the average diameter of rain drop, average velocity of moving and falling and the conception of weighted velocity in square root as well as the me - tho...
应用推荐