The I.M.F.says the world will slowly return to growth of almost two percent next year.
VOA: special.2009.04.24
It says if this is a string of length 0 or 1, I'm done. I'm going to return the answer true.
我就会返回答案为真,否则的话我得判断它。
So in return to, we have a slight variance here, -- where I'm defining apparently -- declaring a function called cube.
作为应答,这里我们有一点变化,这里我显然定义了-,声明了一个叫做cube的函数。
And then I'm going to just return the bigger of the two. Little bit complicated, but it's basically just implementing this decision tree.
我会计算总价值,然后我会返回两者中的较大值,有点小复杂,但是它就是按照这个决策树在运行。
and this is something I'm going to return to on Wednesday actually, behaviorists have provided powerful techniques for training, particularly for nonverbal creatures.
实际上我周三的时候会来讲讲这个,行为主义者们发明了,在训练非言语生物方面,非常有效的训练技术。
And so what I'm going to do the next day is return to this discussion, and take a look at a more rational view of the chemical world. So, we'll see you on Friday.
我下一次要做的就是,继续这个讨论,并且观察一个更为理性的,关于化学世界的观点,周五见。
I'm going to drop more than the independence assumption, I'm going to assume that the assets don't have the same expected return and they don't have the same expected variance.
我还想做出一些改动,即这些资产的预期收益率,是各不相同的,方差也是不同的。
So the first thing I'm going to do is, I'm going to try and return the value in the memo.
所以我要做的第一件事,就是我将会尝试将,总价值返回到memo中。
And again I'm going to return either a three tuple there or a three tuple there.
我会再次返回三个数组,要么在这儿要么在哪儿。
And I am going to ask actually for a vote because I'm going to return to this.
事实上,我想要一次头片,因为我想要回到这个地方。
And then when I get to the very end, I'm going to return the bigger of with i and without i.
然后当我到最后时,我会返回包括i物品,和不包括i物品的,总价值中的较大值。
So the first thing it does, price=0 is it says, if self dot price is 0, I'm just going to return.
所以它做的第一件事就是,如果self。,我就返回。
And this is an issue I'm going to talk about now but I'm going to return to next week when we deal with issues such as liking and disliking, racial prejudice and other things.
这正是我想讲的问题,但我想留到下周再谈,等我们讲到喜欢,讨厌,种族歧视等问题时再来讨论。
It says, if I want to print out something I built in Cartesian form up here, says, again, I'm going to pass it in a pointer to the instance, that self thing, and then I'm going to return a string that I combine together with an open self and close paren, a comma in the middle, and getting the x-value and the y-value and converting them into strings before I put the whole thing together.
这不仅仅是个列表,它是怎么来做的?,流程是:如果我想要返回,一些已经在笛卡尔模式下建好的值,好,再说一遍,我首先要传入一个,指向实例的指针,也就是,然后我会返回一个,由开括号,闭括号,中间的一个逗号,以及提前转换为字符串格式的。
I'm going to say, gee, p2 is the x value the same in both of them, and if it is, and the y value's the same, then this is the same point, I'm going to return true.
这样的数据对象,我会把它们命名为p1和,我会去查看,看看两个对象中,的x值是不是相同,如果相同的话,就去查看y值是否相同。
I said both the x- and y- coordinates are bigger, then I'm going to return something to it.
我说过如果x和y坐标,都是更大的。
malloc I'm going to now use this new, fancy function called malloc and I'm going to say x gets the return value of malloc of the size of an int.
我现在使用这个新的,别致的函数,然后我指明x,=,malloc的int型数据的大小,的返回值。
In particular, I'm going to return a tuple.
特别要注意,我要返回一个数组。
OK? You can take a quick look at it, a even with the wrong glasses on, it says if a 1 sorry, b is equal to 1, a I'm just going to return a.
你们可以快速的过一遍,它是这么写的:如果,对不起,是b等于,那么就直接返回。
And I think in the polar one I said, if, what did I do there, I said, yeah, again if the x and y are greater than the other one, I'm going to return them to it.
然后我要返回一些值,我认为在极坐标的形式下我说过,如果,我在这里做了什么来着,我说过,对,再说一次,如果x和y坐标。
X I'm passing an X, and yet I'm also assigning the return value to X. So just intuitively what's going to be the effect of this one line of code?
我传一个X,之后我把返回值赋值给,很明显,这一行代码,将会产生什么作用?
So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.
那么这里发生了什么呢?,如果我是在这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。
So the question was, why is this return down at this level, it says, well if I ever execute out of this FOR loop, I get to the end of the FOR loop without hitting that branch that took me through the return, then and only then do I want to actually say, gee, I got to this place, there isn't any value to return, none I'm going to return none and none.
问题是,为什么它是在这个级别上返回值呢,意思就是如果我出了这个for循环,就意味着我运行的过程中没有走到任何,带return的支路上去,这时也只有这时我才能说天呐,我终于走到这儿了,这时不会返回任何值,只会返回none和。
If it isn't, then I'm going to go back around the loop, and notice what happens. If I get all the way around the loop, that is, all the way through that FOR loop and I never find a path that takes me through here, then the last thing I'm going to do is return a pair or a tuple with a special simple number none twice.
如果没有,我会回到循环看看发生了什么,如果我运行了整个循环,也就是整个for循环,我仍没有找到符合条件的路径,那么我最后做的事情就是返回一对,或者一个数组的两次none值。
应用推荐