• What lambda that does, it creates on the fly a function, as the program runs. That I can then pass around.

    这里的入是在函数运行的时候,由一个函数创建的,然后我会传递这个值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Literally, return the control from this function, and take the value of the next expression, and return that as the value of the whole computation.

    正如字面意义上说的,从这个函数返回,然后取得下一个表达式的值,并把这个值作为整个计算的结果返回。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It's a state function, so we're at constant temperature and pressure, and now we want to consider some chemical change or a phase transition or you name it.

    这就是态函数,我们处于恒定的温度和压强之下,然后考虑某些化学变化或者相变,或者你想考虑的东西。

    麻省理工公开课 - 热力学与动力学课程节选

  • In contrast, if we're taking the wave function and describing it in terms of n, l, m sub l, and now also, the spin, what are we describing here?

    相反,如果我们考虑一个波函数,然后用n,l,m小标l,还有自旋,我们描述的是什么?

    麻省理工公开课 - 化学原理课程节选

  • Identify the best responses of each player as a function of the others and find out where they intersect.

    把每个人的最佳对策看成别人策略的函数,然后找出函数的交点

    耶鲁公开课 - 博弈论课程节选

  • I tell you something about the second derivative of a function and ask you what is the function.

    我告诉你一个函数的二阶导数,然后问你这个函数是什么

    耶鲁公开课 - 基础物理课程节选

  • 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.

    我们刚开始使用了它,里面有很多的,有用的函数,像,所以,那些名字暗示,你可以挑选这些,没有参数的函数然后你可以通过它的名字,获取他们的数据类型。

    哈佛公开课 - 计算机科学课程节选

  • And then I could also do a Gaussian one here, with the mean of and the standard deviation of volatility divided by 2.

    然后我在这里再写一个高斯分布的函数,它的浮动值的平均值和,标准偏差值都除了2。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It didn't really crash, it found an assert statement. So if you look at the bottom of the function, you'll see that, in fact, I checked for that.

    其实程序并没崩溃,它只是碰到一个断言语句然后停了下来,如果你看看函数的顶部,你会看到,实际上我断定计数器。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And what is plotted below is the actual wave function, so you can see it starts very high and then the decays down.

    下面这画的是,波函数,你们可以看见它开始非常高,然后衰减下来。

    麻省理工公开课 - 化学原理课程节选

  • 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.

    为了这样做,我们要讲一讲,氢原子,波函数的形状,特别是轨道的形状,然后要讲到径向概率分布,当我们讲到它时,你们更能理解。

    麻省理工公开课 - 化学原理课程节选

  • Normally, I will give you a function and tell you to take any number of derivatives.

    通常情况下,我会给你一个函数,然后让你求任意阶的导数

    耶鲁公开课 - 基础物理课程节选

  • There's no change in them, and then we also looked at some at non-state functions, work and heat, and saw that those aren't zero going around a cycle. Of course you can do work in a cyclic process, and heat can be exchanged with the environment at the same time.

    它们不会有变化,然后我们研究了,一些非态函数,功和热量,并看到,沿着循环行进一周的话,它们并不是零,当然你可以在,一个循环过程中做功,而同时热量可以在系统,与外界环境之间进行交换。

    麻省理工公开课 - 热力学与动力学课程节选

  • And then I'll call fast Fib and it returns the result it has.

    然后我会调用快速Fib函数,然后它会返回它的结果。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • f Well, call toupper pass this lowercase F F to this function called toupper it's going to return capital F and so what do I assign to s2 bracket zero?

    调用toupper函数,传递这个小写,然后返回的是大写的,那么我对s2【0】赋值多少?

    哈佛公开课 - 计算机科学课程节选

  • 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.

    我们看,这下面这是波函数,我们看到它开始很高,是正的,然后降低直到,然后它穿过,变成负的,最后接近,但没达到,在这个。

    麻省理工公开课 - 化学原理课程节选

  • And then I'll create this function, d1 this distribution d 1, which will, whenever I call it, give me a random, a uniformly selected value between minus and plus volatility.

    然后我会创建这个函数,这个概率分布,每次我调用这个函数的时候,他会给我返回一个随机的,按照均匀分布,从正负浮动值之间选择的值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • I have yet to show you the solution to a wave function for the hydrogen atom, so let me do that here, and then we'll build back up to probability densities, and it turns out that if we're talking about any wave function, we can actually break it up into two components, which are called the radial wave function and angular wave function.

    我还没有给你们看过,氢原子波函数的解,让我现在给你们看一下,然后再来说,概率密度,实际上,对于任何一个波函数来说,我们可以把它,分解为两部分,分别叫做径向波函数,和角向波函数

    麻省理工公开课 - 化学原理课程节选

  • See, I've defined f of x to be a function x=x+1 that takes a value of x in, changes x to x+1, x and then just returns the value.

    我定义了f是一个函数,输入x,让,然后输出。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • 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, what we can do to actually get a probability instead of a probability density that we're talking about is to take the wave function squared, which we know is probability density, and multiply it by the volume of that very, very thin spherical shell that we're talking about at distance r.

    我们能得到一个概率,而不是概率密度的方法,就是取波函数的平方,也就是概率密度,然后把它乘以一个在r处的,非常非常小的,壳层体积。

    麻省理工公开课 - 化学原理课程节选

  • 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型数据的大小,的返回值。

    哈佛公开课 - 计算机科学课程节选

  • And then I'll call fast max val passing at this extra argument of the memo.

    然后我会调用快速maxval函数,而它是基于这个额外变量memo的。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So we have the operationon the wave function in terms of r, theta, and phi and remember this e is just our binding energy for the electron, and we get back out this wave function.

    我们用r,θ,φ来表示,将算符作用于波函数,而且记住e仅仅是电子结合能,然后后面加上波函数

    麻省理工公开课 - 化学原理课程节选

  • int Y Well, I said int X and int Y; so that gave me one square here called X, one square here ; or wherever, called Y, done, one was put in here; two was put in here, and then I called this function swap.

    好的,我声明了int,X,和;,然后我这里有个正方形叫做X,一个正方形,叫做Y,完成,1放在这里;,2放在这里,然后我调用这个swap函数

    哈佛公开课 - 计算机科学课程节选

  • But as soon as the most recently called function finishes executing, you have to take that tray off the stack in order to get at the previous function's memory, and once he's done executing, you have to take that one off and then what's left well then main.

    但是,一旦新的调用函数结束了执行,你必须从堆中把托盘拿掉,用来获得先前函数的内存,一旦他完成执行,你必须把那一块拿下来,然后剩下的是main函数

    哈佛公开课 - 计算机科学课程节选

  • I certainly don't want to assume they're always going to type a three-letter or a four-letter or a two-letter word I want some dynamism but that's fine because get string can get a string of any length, I can then use the string length function to just ask while the program is running how big is the string that I was handed?

    当然我不能假设他总是,输入3个字符或4个字符,或2个字符的单词,我想要动态地分配,因为GetString可以获得任意长度的字符串,然后我可以使用strlen函数,来得到那个我传递的字符串,有多长?

    哈佛公开课 - 计算机科学课程节选

  • Here's my pro-- here's my function called main.

    然后是main函数

    哈佛公开课 - 计算机科学课程节选

  • We can also do a similar thing, and I'll keep my distance from the board, but we can instead be holding x constant, for example, putting x to be equal to zero, and then all we're doing is considering the electric field as a function of t.

    我们也可以做类似的事情,把x固定为一个常数,例如令x等于零,然后,考虑电场作为时间的函数,这种情况下,我们划掉。

    麻省理工公开课 - 化学原理课程节选

  • I'm reminded of the confirmation screen here and that's not too bad, then we put in the card and we click confirm and then finally we see the swap Then finally literally nine steps later the ticket comes out of the machine and then, frankly, had to go through the process of where to put the ticket in the machines.

    这里出现了确认画面,那还不是太坏,然后我们把卡插进去,点击确认,然后我们看到了那个,函数。,swap,function。,【笑声】然后最终经过9个步骤,票从机器中出来了,然后,需要找出从哪里,把票放到机器中去。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定