That code says the following: the IF says, I've got an expression, I'm going to evaluate it.
代码的含义是这样的:,我有一个表达式,我会去对这个表达式求值。
In the case of a recursive exponentiator, I'm going to do the following trick.
在这个迭代求乘方的例子里面,我会用这么个小把戏。
Normally, I will give you a function and tell you to take any number of derivatives.
通常情况下,我会给你一个函数,然后让你求任意阶的导数
I've got to find them by experimenting, by putting other bodies and seeing how they react and then finding out what's the force that acts on a body when it's placed in this or that situation.
我得通过实验找出这些力,我会增加其它物体,观察其反应,求出当它处在这种或者那种情况下时,作用在物体上的力
I'm using it as an abstraction, saying I'm going to have square root from somewhere, maybe I'll build it myself, maybe somebody gives it to me a s part of a library, so I'm burying the details inside of it.
我把这个方法作为一个抽象来引用,意味着我将会从另外一个,地方去求一个数的平方根,可能我会自己写这个方法,也可能我会从别人写的lib中去引用,因此我将实现的细节放到了其他地方。
应用推荐