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.
我们从周三开始讨论这些,而且我们将要以特别地考虑,多电子原子的波函数,为开始。
And what is plotted below is the actual wave function, so you can see it starts very high and then the decays down.
下面这画的是,波函数,你们可以看见它开始非常高,然后衰减下来。
That's a good thing. And instead of 17 million calls, I have 1800 calls.
真好,我们只调用了1800次函数,而不是一开始的1百70万次。
And we've only just begun using it, but it has just a bunch GetInt GetString GetDouble of very useful functions like GetInt, GetString, GetDouble, And so as those names imply, you can just cull these functions with no arguments and you'll get back that data type based on its name.
我们刚开始使用了它,里面有很多的,有用的函数,像,所以,那些名字暗示,你可以挑选这些,没有参数的函数,然后你可以通过它的名字,获取他们的数据类型。
Sometime later, I will deal with functions of more than one variable, which I will briefly introduce to you, because that may not be a prerequisite but certainly something you will learn and you may use on and off.
再过段时间,我要开始处理多变量函数,到时候我会向你们进行简单介绍,因为那不是必须的,但是你们以后会学到,有时候还能派上用场
So on Friday, we'll start with talking about the wave functions for the multi-electron atoms.
在周五,我们要开始讨论,多电子原子的波函数。
Right, and that is going to lead us then to this funky looking thing.
这样的事情的方法或者函数,因此现在我就开始。
So, if we look at the bottom here and the actual plot of the wave function, we see it starts high, very positive, 0 and it goes down 0 and it eventually hits zero, and goes through zero 0 and then becomes negative 0 and then never quite hits zero again, although it approaches zero.
我们看,这下面这是波函数,我们看到它开始很高,是正的,然后降低直到,然后它穿过,变成负的,最后接近,但没达到,在这个。
It's the first thing that gets executed.
他是开始执行的第一个函数。
Now I started by saying, build these functions.
现在我将开始说一说建立函数。
So we hit the curly brace so the very bottom of the function and as soon as you hit that, the next line in the story is well, then we return to main and where are we executing in main?
我们抵达花括号了,这是函数的末尾了,一旦到了那个地方,在下一行,然后返回到main函数中,在main中哪里开始执行?
So A gets 1, B gets 2, now the swap function itself starts executing line by line; so I declare a chunk of memory called temp.
所以A等于1,B等于2,现在swap函数自己开始,一行一行地执行,所以我声明了,叫做temp的一块内存。
It's very clear I've got to start with a function that looks like t^.
显然,我得从一个类似与t^的函数开始
Well, remember from Wednesday we introduced CS50's library.
好的,请记住从周三开始我们介绍了CS50的函数库。
Well, main first declares a loop that starts here.
嗯,main函数,首先声明了一个循环从这里开始。
应用推荐