Thus far, for us it's been testing individual functions. Later in the term we'll talk about unit testing of classes.
至今为止,我们用到单元测试的地方,就是测试每个单独的方法,在后面我们会讲到类的单元测试。
When she speaks about it, when she attends functions, and dinners and things like that,
当她提起这个时,当她出席社交集会时,或者出席晚宴等诸如此类的活动时,
Sometimes we might just directly tell you that's probably the easiest scenario, because when we think about work functions those are usually reported in energy.
有时候我们可能只是直接告诉你,那可能是最简单的情况,因为当我们考虑功函数时,它们经常用能量来记录。
So maybe - and here thinking about the pancreas has many functions but one of its important functions is to secrete insulin.
胰腺有很多的功能,其中最重要的功能之一,就是分泌胰岛素
And if you think about it, associated with each - one of those data types is a set of functions it's intended to apply to.
你会发现每个类型都有,与之对应的一个集合的操作,有的时候这些操作,有的时候某个操作可以,应用于多种数据类型。
It has to do with the god Hermes who conveyed language to man, who was in a certain sense, among many other functions, the god of communication, and hermeneutics is, after all, obviously about communication.
它与赫耳墨斯,即教给人类语言的神祇有关,从某种意义上来说,赫耳墨斯是沟通之神,所以诠释学显然和沟通交流有关。
So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.
所以我们进今天将多讨论点这个函数的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int数,则会纠缠用户,但是一旦它得到了,用户输入的int数,对输入进行引用,返回给你。
So, we're talking about wave functions and we know that means orbitals, but this is -- probably the better way to think about is the physical interpretation of the wave function.
我们讨论波函数而且,我们知道它代表着轨道,但-也许更好的思考方法是,考虑波函数的物理意义。
We can do the exact same thing when we talk about lithium, but now instead of breaking it up into two wave functions, we're breaking it up into three wave functions because we have three electrons.
在讨论锂时,我们也可以做,完全相同的事情,但不是把它分为两个波函数,而是分为三个波函数,因为我们有3个电子。
So on Friday, we'll start with talking about the wave functions for the multi-electron atoms.
在周五,我们要开始讨论,多电子原子的波函数。
I'm using it just to make the point, which you already know about; that the nervous system is complex in it performs a complex set of functions.
我想通过这张图片阐述一些,你们已经知道的知识,即神经系统是一个,功能复杂的复合体
And in doing that, we'll also talk about the shapes of h atom wave functions, specifically the shapes of orbitals, and then radial probability distribution, which will make sense when we get to it.
为了这样做,我们要讲一讲,氢原子,波函数的形状,特别是轨道的形状,然后要讲到径向概率分布,当我们讲到它时,你们更能理解。
So now that we can do this, we can compare and think about, we know how to consider wave functions for individual electrons in multi-electron atoms using those Hartree orbitals or the one electron wave approximations.
现在我们可以做这些了,我们可以对比和考虑,我们知道如何用哈特里轨道,或者单电子波近似去考虑,多电子原子中的单个电子波函数,所以对于我们研究了。
And we're actually going to get a little bit deeper in our clicker questions here, since when you do your problem-set it won't be quite this straight forward that you'll be answering this kind of question, but actually you'll be thinking about how many different orbitals can have certain state functions or certain orbital names.
事实上我们要讲的,比这个问题还要深一些,因为当你们做习题集的时候,你们不会遇到这么明显的问题,而是要考虑有多少个轨道,有某种特定的态函数,或者特定的轨道名字。
We're going to talk about those in more detail in a couple of weeks when we talk about the immune system because these are the cells that perform and regulate the functions of our immune system that protect us from disease.
在后几周的有关免疫的课程上,我们会详细说明的,因为我们免疫系统的功能,要依靠这些细胞去完成和调节,它们使我们免受疾病侵害
We started talking about these on Wednesday, and what we're going to start with is considering specifically the wave functions for multi-electron atoms.
我们从周三开始讨论这些,而且我们将要以特别地考虑,多电子原子的波函数,为开始。
I want to talk a little bit about how you use the things we've been building in terms of functions to help you structure and organize your code.
第一件事情就是我要谈下,怎么利用我们,所做的能在方法方面,帮助你们组织和优化代码。
Now there's something very wrong about this diagram, in that it's showing these functions as sort of centralized in the core, and of course that's not how your body is organized.
这张图上有些东西是不对的,图上显示这些功能都围绕着一个核心,当然,这绝不是人体的组织形式
Since we're talking about wave functions, since we're talking about the properties of waves, we don't only have constructive interference, we can also imagine a case where we would have destructive interference.
因为我们讨论的是波函数,因为我们讨论的是波的性质,我们不仅有相长干涉,我们也可以想象在,某种情况下会有相消干涉。
These are actually all examples that we'll talk about in freshman chemistry at some point, as an example of a connection between a chemical principle we learn, and what we can know about how it functions.
作为联系一个我们,所学的化学原理,和我们能知道它,如何工作的例子。
So, saying wave functions within molecules might sound a little confusing, but remember we spent a lot of time talking about wave functions within atoms, and we know how to describe that, we know that a wave function just means an atomic orbital.
说分子内的波函数可能,听着有点容易搞混,但记住我们花了很多时间,讨论了原子中的波函数,而且我们知道如何去描述它,我们知道波函数意味着原子轨道。
So, we can look at other radial probability distributions of other wave functions that we talked about.
我们可以来看一看我们讨论过的,其它一些波函数的径向概率分布。
So, as an example, let's take argon, I've written up the electron configuration here, and let's think about what some of the similarities might be between wave functions in argon and wave functions for hydrogen.
所以作为一个例子我们来看看氩,我已经把它的电子构型写在这里,我们来考虑氩和,氢波函数之间的,一些相似性。
When you think about an int or a float or a dictionary or a list, you knew that there were functions that operated on them.
当你想到整型,浮点型,或者链表时,你知道可以用函数去处理他们,但是当你传递一个参数,例如链表。
minutes with a different variation on how to use functions to think about problems.
我想在最后的十分钟里讲一讲,怎样用不同的变量让函数。
The reason that we can talk about this is remember that we're talking about wave functions, we're talking about waves, so we can have constructive interference in which two different orbitals can constructively interfere, we can also have destructive interference.
我们可以这么说的原因是,记住我们说的是波函数,我们说的是波函数,所以我们可以得到相长干涉,这是两个不同轨道会相长干涉,我们也有相消干涉。
When we're talking about orbitals, we're talking about wave functions.
当我们说轨道的时候,我们说的是波函数。
Second thing they're going to do is let us suppress detail. And in essence what that does is, the functions, and we're going to look at a bunch of examples in a second, these functions are going to give us a way to, in some or in one way of thinking about it is to create new primitives.
第二件要做的事,是忽略细节,函数的本质到底是什么,我们将在接下来的几分钟,举一些例子,这些函数将给我们提供,一种创建原语的思考方式。
应用推荐