Suppose I want to do little piece of code that's going to do planar geometry, points in the plane.
好,因此我需要一些,把这些东西收集到,一起的一些方式。
This is the name to which I'm going to refer when I want to use this function. All right?
这是我以后使用这个函数式,会采用的名字?
I want to mention that 5 you're going to get problem-set five is posted today, and I'll write which ones you can already do so far, because you don't have class on Monday.
我要指出的是,今天会贴出来习题集,我会给出你们现在可以做的题目,因为周一没有课。
I want to teach you things that you are going to retain you're going to take with you.
我教你们事情,你们将会记住,并且会一直伴随着你们。
I'm not going to tell you who that is, but I want you to figure it out. Okay?
我不会告诉你们那是谁,我希望你们自己去弄清楚,好吗?
And so, what I want to do is begin this class that's going to talk about cognitive development by talking about his ideas.
所以,这堂课我想,通过他的理论,来讲讲认知发展
Now, a lot of today is going to be fairly abstract, so I just want to remind you that Game Theory has some real world relevance.
今天所讲的很多内容会很抽象,但我想要提醒大家,博弈论与现实世界是紧密联系的
I want to talk about one other technique and then I'm going to give you some examples about how to use these in the last few minutes.
我想谈论另一个技术,最后几分钟时,我会给出一些如何应用的例子
.. All right. I want to end by... I'm not close to ending, but the last thing I'm going to do is read aloud some student evaluations.
哦了,我想通过。。。来做结尾。,我没有接近尾声,但我想说的最后一件事,是大声念出一些学生的学科评价。
So this is a question that I want to continue today, to consider what the trial of Socrates means and I want to begin by going back to a problem or a paradox that I ended the class with last time.
这就是我今天要继续的问题,考虑苏格拉底受审的意义,我想要先回到一个问题,一个悖论,也是我们上堂课所遗留的。
So it's a tough economy and you'd say, "Well geez, I want to do a startup. Is there going to be an investment out there? Well geez, I want to sell to customers and they're going to need to buy equipment to do things, or geez I want to appeal to advertisers, and there's got to be a consumer demand out there."
因此经济愈发不景气,你们会说“天哪,我想要卷土重来,会有人给我投资吗?,我想向人们出售产品,他们会需要买些设备来做事的,哦天哪,我想向广告商招标,总会有消费者需求的“
I also want to assume for our present purposes that there's only pressure volume work going on, which is to say I want to put pdV p dV in here minus p dV for dw.
同时假定,对于我们目前的目的而言,只有压强做功这就是说,我要把这里的dw替换为负。
And I want to just highlight it for you because we're going to come back and look at it.
我想强调下这一点因为我们即将,回过头去再去看看这些东西。
Partly to show you that it's kind of weird, but also to tell you that one of the things you want to do is exercise what I'm going to call some type discipline.
一定程度上来说这有点儿怪,但是还是想要告诉你们的是,你们需要做一些,我称之为类型规范的练习。
OK. Now, having done that, again I want to stress this idea and I'm going to write it out one more time, that there's a particular format here.
好,讲完了这些,我又想要强调一下这个思想,并且再一次把它写出来了,就是有一个特定的格式。
Take the yolks and mix them in with the sugar and water No. Sugar and flour I guess is probably what I want, sugar and water is not going to do anything interesting for me here mix them into something else.
将蛋黄取出,把他们和上糖和水,不,我猜糖和面粉才可能是我想要的,糖和水没法儿为我,变出有趣的东西来,把他们混合成别的什么东西。
But I want you to keep that template in mind because we're going to come back to that.
这是一个对我们,很实用的通用工具。
I want to talk about efficiency, and we're going to, or at least I'm going to, at times also refer to this as orders of growth, for reasons that you'll see over the next few minutes.
为什么是很有价值的,我想要讨论下效率,我们将会,或者至少我将会不时的,提到有序的增长,原因你们很快就会明白的。
OK. So, what do I want you to take away from this? This idea of binary search is going to be a really powerful tool. And it has this property again, of chopping things into pieces.
从这里学到些什么?二分查找的思想,是一个非常有用的工具,我重复一遍,把问题拆成几部分来解决,那事实上,这里的增长率是多少?
Again. Basic premise of binary search, or at least we set it up was, imagine I have a sorted list of elements. We get, in a second, to how we're going to get them sorted, and I want to know, is a particular element in that list..
好,二分查找的基本前提,或者是我们建立二分查找的基础,我们已经有了一个排好序的元素列表,我们就需要知道如何来快速的排序,如何从列表中找到特定的元素。
The second thing I want to highlight is, that what's going on, is that Python is doing some type checking.
我想强调的第二件事情是,这里发生的是,是Python做了一些类型检查的工作。
应用推荐