如果我可以成对获得因子,那么我只需要循环到该数字的平方根。
I only need to go up to the square root of the number if I can harvest the factors in pairs. To that end, I improve the algorithm and refactor the code to Listing 3.
假设我们希望得到这样一个查找表:它返回5到20之间各个数字的平方根。
Let's say you want a lookup table that will return square roots of Numbers between 5 and 20. A simple program can be written to generate such a table like this.
衡量人们的总体能力,然后衡量他们的聪明度,算出两个数字的平方,再把它们相加,最后求出平方根。
Measure a person's general ability; then measure their cleverness, then square both numbers and add them together, then take the square root.
清单5中的代码首先将该因子列表收集到目标数字的平方根,将其保存在factor变量中。
The code in Listing 5 first gathers the list of factors up to the square root of the target number, saving it in the factors variable.
宾夕法尼亚州匹兹堡的Akustica公司将MEMS麦克风与用于数字输出的电路配套放入一个不足5平方毫米的组件中。
Akustica, based in Pittsburgh, Pennsylvania, puts a MEMS microphone complete with the circuitry needed for digital output into a package less than 5mm square.
事实上,它通常是一个复数的形式,包括普通数字的实数部分和需要乘以负一的平方根的虚部。
In fact, it can generally be a complex number with both a "real" part that's an ordinary number and an "imaginary" part that's multiplied by the square root of one.
(齐兹·伊南补充说,36刚好等于111,111的6位数字的总和6的平方)。
Inan added that 36 is equal to the square of the sum of the digits in 111, 111.
这是个大悲剧,质量变为原来的一半,是此数字平方的三倍。
This is a great tragedy, because now you get one-half the sum of the masses, which is three times this small number squared.
其中一个是144,169,就像是12的平方跟了一个13的平方。另外一个比较容易记住的数字是1,234,567,891。
One is 144, 169, which reads like 12 squared followed by 13 squared; another the easily remembered number of 1, 234, 567, 891.
最外层是平方函数的应用(power,第二个参数是数字2),power的第一个参数是sin函数的应用。
At the outer level is an application of the squaring function (power, with the second argument the number 2), and the first argument to power, is an application of the sin function.
最后,用两个数字实例对矩估计法和非线性最小平方估计法加以具体的说明。
Finally, two numerical examples are given to illustrate the methods of moments estimation and the nonlinear least squares estimation.
整个南极洲的海洋面积达几百万平方英里,为了便于开展空中测量,科学家们按照字母和数字的顺序分类排列南极洲的冰山,因此上述的这块大冰山被命名为C - 19。
Icebergs in Antarctica are designated by letters and Numbers for aerial surveys across millions of square miles of the southern ocean, and this berg is known as C-19.
基于峰值约束最小平方优化标准,提出了一种用于设计线性相位定点系数FIR数字滤波器的新方法。
A new method for designing linear phase FIR digital filter with fixed-point coefficients based on the peak-constrained least-squares criterion is proposed in this paper.
本文提出了一种从模拟低通原型滤波器的振幅平方函数设计“无限脉冲响应(IIR)”数字滤波器的方法。
A technique used to design infinite impulse response (IIR) digital filters from the squared magnitude function of a normal analog lowpass filter is presented in this paper.
介绍了平方根升余弦滚降数字滤波器的设计和优化方法,并提出了用FPGA实现其硬件电路的方案。
This paper introduces design, optimization and implementation with FPGA of square-root raised cosine roll-off digital filter.
奥运村将由永久性的低层公寓构成,运动员的人均居住面积为22平方米,这个数字比以往任何奥运会所提供的都要大。
The Olympic Village will consist of permanent low-rise apartments that provide the athletes with an average of 22 square meters each, more living space than at any previous Games.
平方您的图像可以预计的水平和垂直数字图像,通过确保所有工作都已缩放和显示相当的大小差异。
Squaring your images allows for size differences between projected horizontal and vertical digital images by ensuring that all work is scaled and displayed fairly.
数字系统使用信号脉冲形成的,也就是说,一系列的短周期平方波。
Digital systems use signals, which are of pulse form, that is, a series of short-duration square waves.
求不能被表示成若干个不同数字平方和的最大的整数。
What is the largest number that cannot be expressed as a sum of different square numbers?
求不能被表示成若干个不同数字平方和的最大的整数。
What is the largest number that cannot be expressed as a sum of different square numbers?
应用推荐