What lambda that does, it creates on the fly a function, as the program runs. That I can then pass around.
这里的入是在函数运行的时候,由一个函数创建的,然后我会传递这个值。
There's no classical analogy that explains oh, this is what you can kind of picture when you picture a wave function.
可以解释:,哦,这就是,你想象的,波函数的样子啊。
The only function it is -- it doesn't care where the gas is. It only cares where the temperature is.
是温度的函数,它只是温度的函数,不管是什么气体。
We won't make you write dramas like Pirandello, but we're going to try make you at least write good code.
我们的函数中的东西,我们不会让你去写皮兰德娄的荒诞剧,但是我们会教你写漂亮的代码。
If I get you down to a cluster of about 30 water molecules, the boiling point is a function of the size of the water droplet.
如果对于一个由30个水分子,组成的簇,沸点是,水珠尺寸的函数。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是,函数得到了自己的内存块,相同的类型,是占有一样大小的内存的。
And you don't get a complete straight line but you get an interesting function that suggest that there's a relationship.
你不会得到一条完整的直线,但会得到一个有趣的函数,表明他们之间的某种关系
What I plot on this graph here is as a function time, years, dates, life expectancy as a function of time.
在这儿的这张图是,一个关于时间,年,日期的函数,将寿命长短作为时间的函数
It shows the standard deviation of the return on the portfolio as a function of the expected return on the portfolio.
它是投资组合的收益标准差,关于预期收益率的函数图像。
Identify the best responses of each player as a function of the others and find out where they intersect.
把每个人的最佳对策看成别人策略的函数,然后找出函数的交点
Or just have the good intentions without the effort that's necessary to bring about a positive exponential function.
还是只有好的意图但不付出,必要的努力发挥正面指数函数的作用。
If I gave you the location of a particle as a function of time, you can find the velocity by taking derivatives.
如果我给出物体的位移是时间的函数,你可以通过求导来得到速度
.. How valuable-- how well off you are, how valuable your life is, is a function of the contents, the pleasure and the pain.
生命的价值-,你有多幸福,你的生活有多少价值,是生活内容的函数,即快乐与痛苦的函数。
In other words, now I know how to tell how the Helmholtz free energy changes as a function of temperature.
换句话说,我现在知道如何写出亥姆赫兹,自由能作为温度的函数。
are all functions of state and parameters that we can control like temperature and pressure.
公式里面的全部都是态函数,我们控制态函数的参数比如温度或者压强。
So when you operate on the wave function, what you end up with is getting the binding energy of the electron, and the wave function back out.
所以当你将它作用于波函数时,你得到的是电子的结合能,和后面的波函数。
And first we discussed the fact that well, in terms of a classical analogy, we don't really have one for wave function, we can't really think of a way to picture wave function thinking in classical terms.
首先我们说了,波函数没有一个,经典的类比,我们不能想象一个,经典的波函数的图像。
And one of the ways you can make a program crash, intentionally or not, is to essentially use up too much memory or call too many functions and what happens is, bam, one hits the other and bad things happen.
其中一个方式能使你的程序崩溃掉,有意或无意的,它本质上使用了太多的内存,或者调用了太多的函数,所发生的,崩掉,一个冲突了另一个,然后发生了坏事情。
But this choice of names, both for my functions and also for my parameters or my variables is completely up to me.
但是这个名字的选择,包括我的函数名,和我的参数名,或者变量名都是我定义的。
I tell you something about the second derivative of a function and ask you what is the function.
我告诉你一个函数的二阶导数,然后问你这个函数是什么
And this defines formal parameters of this function. Yup.
带有其它变量的括弧,这就是函数的形参。
So, we can look at other radial probability distributions of other wave functions that we talked about.
我们可以来看一看我们讨论过的,其它一些波函数的径向概率分布。
What we are going to say is that the wavefunction for molecular orbitals is going to be an additive sum of the wavefunctions of atomic orbitals.
我想说的是,分子轨道的波函数,就是多个原子轨道,波函数的线性叠加。
Pressure has dropped out of the picture completely here. So there is no p dependence here.
理想气体的H只是温度的函数,这对于真实气体来说是。
My prototype, again, so that I can use it later increment without the compiler wondering what is this increment that you're referring to because it's not otherwise been declared.
我的函数原型,再次强调,我可以以后使用它,这样编译器就不会疑惑这个你提及的,是什么,因为是没有,被声明的。
If you want it to take a so-called argument or a parameter, there's a subtle semantic distinction between arguments and parameter, but for all intents and purposes, they're the same thing.
如果你想要你的函数携带参数或,参量,这里有一个微妙的语义差别在,参数和参量之中,但是为了所有的意图,和目的,他们作用是一样的。
But when you pass a parameter say, a list, you didn't think that you were not only passing the list, you were also passing the functions that operate on the list. In fact you are.
你不会认为你输入的不仅仅是链表,你还传递了处理链表的函数,实际上你正是这么做的,这往往不重要。
So I've got a function to maximize and a constraint that must be obeyed.
一个需要得到最大值的函数,和一个需要遵守的约束条件。
- So what's for all this function -- what's the role of this function in life?
这个函数是干什么的-,这个函数的最终角色是什么呢?
I'm saying "here comes my main function; here comes the guts of my program."
我指明“这里是我的主函数;,这里是我的程序内容,“
应用推荐