Now, let's return to the factorial function.
现在,让我们回到阶乘函数上来。
The function would continually call factorial.
函数会连续不断地调用factorial。
Now, in the new call to factorial, num is set to 3.
现在,在新一次调用factorial时,num被设置为3。
This limits greatly the possible range of your factorial function.
这极大地限制了阶乘函数的可能范围。
Design: a clinical observation of factorial design.
设计:以患者为观察对象的析因设计。
The experiment was designed as a factorial experiment.
实验采用析因设计。
Otherwise, a recursive function is used to calculate the factorial.
否则,使用递归函数计算阶乘。
After computing the factorial, you now want to print it out using printf.
计算了阶乘之后,现在需要用printf将其打印出来。
The symbol now has two meanings, the combinatorial and the factorial.
现在符号有两重意义,即组合意义和阶乘意义。
Write a function that calculates a number's factorial using recursion.
写出一个用递归来计算阶乘的函数。
If you try to call fact outside of factorial, you will get a compiler error.
如果你尝试在factorial之外去调用fact,你会得到一个编译错误。
Results will later be displayed in the labels beneath the factorial buttons.
结果稍后将显示在阶乘按钮下方的标签中。
The same method to calculate the factorial, this time written for the Duby compiler.
下面同样是计算阶乘的方法,这次是针对Duby编译器而写的。
What you want to do with this value in register 3 is to calculate the factorial of it.
在寄存器3中想要做的是计算此值的阶乘。
Then, because num is greater than 0, factorial will be called again, this time with 3.
然后,由于 num大于0,因此会再次调用factorial,不过这次是计算 3 的阶乘了。
In this program you will have two stack frame sizes — one for main and one for factorial.
在本程序中,需要两个堆栈框架大小——一个用于main,一个用于factorial。
Therefore, you need to pass it as the first (and only) parameter to the factorial function.
因而,需要将其作为第一个(也是惟一一个)参数传递给factorial函数。
What happens, for instance, if you try to find the value of the factorial of 4? Let's follow the sequence
例如,如果我们要计算4的阶乘为多少,到底会发生什么呢?
Objective to explore statistical approaches to analyzing factorial designed repeated measurement data.
摘要目的探讨析因设计重复测量资料的统计分析方法。
The factorial of a number is computed as that number times all of the Numbers below it up to and including 1.
计算某个数的阶乘就是用那个数去乘包括1在内的所有比它小的数。
For fractional factorial designs several different approaches to estimate this variance have been suggested.
对因子设计而言,现已有若干种不同方法来估计实验误差方差。
You can test your factorial class using the following code, which you'll also find in the file factorial.py (see Resources).
可以用下面的代码测试这个Factorial类,可以在文件factorial . py中找到这些代码(请参阅参考资料)。
It's crucial how to identify and estimate both location and dispersion effects accurately in factorial experiment analysis.
在因子试验分析中,如何正确鉴别和估计位置效应和散度效应至关重要。
Laboratory study on the effective stress of low-permeability sandstone rock was carried out using the modified factorial design program.
采用了修正的析因设计方案,对低渗透致密砂岩进行了有效应力方程的实验研究。
Don't be taken aback by the size of the code — it's mostly comments and declarations (the factorial function itself only has 16 instructions).
这段代码看起来比较多,但您也无需望而却步,因为其中大部分都是注释和声明(阶乘函数本身只有16个指令)。
These results evaluate to infinity, as the number returned by a 10,000,000 factorial is too large for a double-precision variable to contain.
估计这些结果会无限大,因为10,000,000的阶乘返回的数字对于双精度变量而言太大,以至超出了它包含的范围。
The test case consists of some simple command argument processing followed by a loop that calculates the factorial of the specified values (if any).
测试用例包含几个简单的命令参数处理,然后是一个循环,它计算指定值(如果有的话)的阶乘。
To begin looking at SPU assembly language, I will enter in a simple program for calculating the factorial of a 32-bit number using a recursive algorithm.
在开始介绍SPU汇编语言之前,先来看一个通过递归算法计算32 位数的阶乘的简单程序。
The epilogue will be discussed in the analysis of the factorial code, but it basically just takes down the stack frame and returns to the previous function.
该段代码的尾声(epilogue)将在分析factorial 代码时再作讨论,但总的来说,它的作用是结束堆栈框架并返回到先前的函数。
应用推荐