本文着重研究了动态可重构系统设计方法及其循环计算的动态位宽管理方法。
This article stressed dynamic reconfigurable system's design method and its dynamic bit-width management method for loop computation.
样本容量的估计是试验设计的重要一环,然而样本容量的估计往往需要循环计算,从而花费较长的计算时间。
The calculation of sample is an important programming in the experimental design. However, it is always need to calculate the sample size circularly, which always takes longer computing time.
这个方法循环可能会消耗大量的计算时间。
Computation time in this method is likely to be spent on the loop.
循环冗余检验(crc)值针对关键数据结构计算,提高了数据崩溃的探测几率。
Cyclic redundancy check (CRC) values are computed for critical data structures, improving the odds of detection of data corruption.
图4展示了一个在联邦服务器使用嵌套循环连接操作符来计算这个查询的计划。
Figure 4 shows a plan using the nested loop join operations at the federated server to evaluate this query.
好,你将学到它在什么时候会崩溃,这对你帮助并不大,但是你不能辨别出到底是在一个循环中,有什么东西卡住了呢,还是程序需要很长的时间来计算一个结果呢。
Well, you'll know when it crashes, that doesn't help you very much, but you can't always tell whether something's stuck in an infinite loop or whether it's simply taking a long time to compute.
更好的方式是在这种简单的计算中或者在简单的循环中使用map。
Better still, in a simple calculation like this one or for any straightforward loop work, use map.
很奇怪的结果表明,如果你执行size of,那么是否预先计算循环的次数基本上没有什么区别。
Surprising results show that if you implement sizeof there is almost no difference in whether calculating the size of a loop in advance.
为处理每一个行元素,以process - cols模式来应用模板,该模板循环遍历所有的col - spec元素,尔后使用dyn:evaluate计算输出到每一列的文本。
To handle each row element, apply templates in process-cols mode, which loops over all the col-spec elements and again USES dyn: evaluate to compute the text that is output for each column.
如果计算所得的降水像素超出阈值参数,则退出循环并输出“raining”状态。
If enough precipitation pixels have been counted to exceed the threshold parameter, exit the loops and write the "raining" status.
使用 第 1 部分的清单6中的 customerXML,循环遍历每个商品、计算保险费并添加到商品信息中。
Using the customerXML from Part 1: Listing 6 , loop through each item, calculate the insurance cost, and add it to the item information.
如果把探测放在while循环的开头和末尾,就会包含许多与素数的实际计算无关的操作。
If the probes had been placed at the start and end of the while loop, a number of operations unrelated to the actual calculation of the primes would have been included.
下两个for循环迭代该字符串并计算其包含多少个元音字母(“a”、“e”、“i”、“o”或“u”)。
The next two for loops iterate through the string and count how many vowels (' a ', 'e', 'I', 'o', or 'u') it contains.
primecalc -start和primecalc - done探测的位置紧挨着执行计算的主循环外边。
For the primecalc-start and primecalc-done probes, notice how the probes have been placed immediately outside the main loop that performs the calculation.
重算循环(为进程重新计算时间片)和goodness循环已经被取消,o(1)算法用于wakeup和schedulee 。
The recalculation loop (which recomputes the time slices for the processes) and the goodness loop have been eliminated, and o (1) algorithms are used for wakeup and schedule .
注意,通过一点儿小小的变动,可以计算出一个给定行参与了多少个循环。
Note that with a small change, one could count in how many cycles a given row participates.
测试用例包含几个简单的命令参数处理,然后是一个循环,它计算指定值(如果有的话)的阶乘。
The test case consists of some simple command argument processing followed by a loop that calculates the factorial of the specified values (if any).
为了简明易懂,每次分析都计算并输出平均值,但是可以很容易地将这些功能移出到循环以外。
The average is calculated and printed each time for simplicity, but it's really not hard to move that out of the loop.
如果这个想法被证实,则首先要将其合成为用以理解地球碳循环和其在气候中效应的计算机模型。
If that idea is confirmed, it will need to be incorporated into the computer models used to understand the Earth's carbon cycle and its effect on the climate.
不要过于纠结于这些数学问题了,在计算机领域,你会很讨厌那些,在这上面钻牛角尖的人,但是对于那些,像循环这样的逻辑结构又是很有用的。
Okay, not to dwell too much on math because you can very quickly bore someone in computer science by dwelling too much on math but it's useful even for logical constructs as we'll see with loops.
循环展开从计算机编程诞生开始就已经成为一种优化技术了。
Loop unrolling has been an optimization technique since the dawn of computer programming.
这个循环重复几次之后,CPU计算能力多次减半,基本上接近零了。
After this cycle was repeated a few times, the CPU horsepower would effectively halve itself to zero.
因此,这种程序在计算每步棋时可能会经历20 -30次循环。
So, the program will cycle through the board perhaps 20-30 times per turn.
通过减少循环中计算机需要执行的指令,节省了执行时间。
This saves time by reducing the number of overhead instructions that the computer has to execute in a loop.
一个简单的例子就是为多个论断计算特定函数的循环,例如接下来的Fortran程序。
A simple example is a loop that computes a particular function for multiple arguments, such as the following Fortran program.
这个程序将运行10次for循环,使用'wib “函数计算出累积值,最后打印出结果。”
This program runs around a for loop 10 times, calculating a cumulative value using the 'wib ' function and finally printing out the result.
while循环与if语句一样,支持一个可选的else子句,其中包含一个当表达式计算为False时执行的程序语句块。
The while loop, as was the case with the if statement, supports an optional else clause containing a block of program statements executed when the expression is False.
它是一个过滤器,实际上,只有那些传递给过滤器(即计算true)的元素“向前传给”了循环主体。
It's a filter, and only those elements that pass the filter (that is, evaluate to true) will in fact "carry forward" to the body of the loop.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
The second type of flow control statement in Python is the while loop, which executes a block of program statements while an expression evaluates True.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
The second type of flow control statement in Python is the while loop, which executes a block of program statements while an expression evaluates True.
应用推荐