On the other hand, if the value I'm looking for here- sorry, the value I'm looking for is smaller than the value I see here, I just need to look here. All right?
如果我的目标数比这个值要小呢?,我就在这边找就对了,对不对?,做完了这一步,我可以在下一步做相同的操作,假设我选中了这一分支?
So if we're keeping n the same, we look and what we saw was that size actually decreases as we increase the value of l.
如果我们保持n不变,我们看到随着l值的,增大尺寸变小。
So I can similarly do this, which is going to look strange because it's going to give me the same value back out, but it actually did a slightly different thing.
我也可以通过类似的手段来达到这个目的,这看起来很奇怪,但是会返回相同的值,但是它的实现真的有点不同。
It's the old gray but dark philosophy that you should just look at value But, one of the things is when people have given up on a company--that's the perfect time.
就是那个陈旧黑暗的哲理,你应该只注重价值,但是,还有一种情况当人们都抛售了,某个公司的股票--那就是个极佳的时机。
If I look at different points in my container during that path, I'm going to have to use a different value of pressure or different value of temperature That's not an equilibrium state, and that process turns out then to be an irreversible process.
如果我要研究在路径中容器里的,不同的点,我就得在容器里不同的点上使用,不同的压强值,或不同的温度值,实际上这不是个平衡态,这个过程是,不可逆过程。
In temp. So that means at the end of that first line of code just as before the value of 1 ends A up in a variable called temp because we said go to A and I look around, oh, there's A, what's there?
在temp中,在第一行代码的末尾,值1最终到了叫做temp的变量中,因为我们指明了定位到,并且四处查看,哦,这里是A,里面是什么?
Now, this is not the nicest way to do it but it'll work. I can look at the type of the value of base and compare it to the type of an actual float and see, are they the same?
这不是最好的办法但它确实有用,我可以得到底的值的类型然后,和一个真的浮点数的类型比比,看他们是不是一样?
Well, I could look at the value here, and compare it to the value I'm trying to find, and say the following; if the value I'm looking for is bigger than this value, where do I need to look? Just here.
然后把它和目标数做个比较,然后做出如下的判断:,如果目标值大于这个值;,那么我应该去哪找呢?对,应该在这里,对不对?不可能在那儿。
Now I look at that element. Is it the thing I'm looking for? If I'm really lucky, it is. If not, I look at the value of that point here and the thing I'm looking for. And for sake of argument let's assume that the thing I'm looking for is smaller than the value here.
现在我们瞧瞧指向的元素,它是我们找的值么?如果足够幸运,他就是,如果不是,我们比较指向的元素,同我们要找的元素,方便起见,假设要找的元素比这里的值要小。
I look at the rest of the list, but I've changed the value.
我们再来看看其余的列表,我已经改变的值。
And I look at that value.
如果这是我要找的目标数,噢先生们。
All right? So if I called sqrt alone, that return test value is done, but in this case I bound it to test, so I can go look at test, and there it is.
执行完返回值语句,但是在这里我将把它赋值给,所以当我看test的值的时候就是返回的值。
In fact, if I look at x, its value is 3.
如果我看到x,我会认为它的值是。
应用推荐