But for now, think of this as just another way to write a function call.
但是现在,把这当成是写函数,调用的另外一种方式就行了。
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】赋值多少?
Think of this as a function that takes two techs arguments, the first of which is univs and the second of which is techs. And this is just a different syntax for writing that function call.
想下有两个参数的函数,第一个是univs第二个是,这就是对于函数调用的,不同语法的书写规则。
We call it a function. That is to say it has a function; it has a function within our understanding of the way in which a text has structure.
我们之所以称之为功能是因为它有功能;,我们文本结构的角度,去认识这种功能。
psi1 0 0 We can call that psi 1, 0, 0, is how we write it as a wave function.
我们可以叫它,这是我们作为波函数的形式写出它。
He has much the same function and to some degree much of the same personality as what we would call a modern day CEO, that is to say there is a kind of anonymity and impersonality about the sovereign.
在一定程度上讲,他有着我们今天所谓的CEO的,一些义务和特性,也就是说,君主兼有一种非人格化的特性。
When I call or invoke a function, think of it as creating a local table.
当我调用一个函数时,想象一下它是在这里创建了一个局部表。
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.
当你调用一个函数,实际上发生的是,函数得到了自己的内存块,相同的类型,是占有一样大小的内存的。
- Well, just a moment ago, we did have -- -- and this time I'll use some chalk here -- a moment ago, we did have a picture depicting what was going on when you call the function.
好的,刚才,我们确实有-,这一次我将用一些粉笔-,刚才,我们有一张图描绘了当我们调用函数的时候,会发生什么事情。
And again, I want to point out that a molecular orbital, we can also call that a wave function, they're the same thing.
同样,我要指出的是,一个分子轨道,我们也可以叫它波函数,这是一件事情。
So, we can think about what is it that we would call the ground state wave function.
我们来考虑一下,基态的波函数,是怎么样的。
We, too, understand the relevance of what we call "the society function."] Rather it must be elucidated in its full extent through the problem of the evolution of literature.
你们不要以为我们很幼稚,我们也明白社会功能的意义是什么],但是我们必须用,文学进化的角度来解释它的功能。
So this symbol here is actually what we call a wave function.
这里的这个符号,实际上是一个波函数。
What happened? I'm down here and try, I'm trying do get grades, which is a call to that function, which is not bound in my computer.
尝试着读取成绩,这被称为函数,是不被我的计算机局限的。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
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.
然后我会创建这个函数,这个概率分布,每次我调用这个函数的时候,他会给我返回一个随机的,按照均匀分布,从正负浮动值之间选择的值。
And again, a related problem that people run into is side-effects. You call a function and it returns a value, but maybe it, on purpose or on accident, modifies one of the actual parameters.
另外,一个人们常碰到的相关问题,就是副作用,你调用一个函数它返回一个值,但是故意或者无意的,它可能会修改一个实参的值。
Now if you call a function, swap like increment or cube or swap, or in this case, foo, those variables are the parameters to that function, end up getting stored next in memory.
现在如果你调用一个函数,像increment或者cube或者,或者在这个例子里,foo,这些变量都是,函数的参数,在内存中存储。
So before we use printf, a function, and we passed in one input and input henceforth we're gonna call arguments or parameters.
我们在使用printf函数时,先放进去一个输入,之后的输入我们就要,调用参数了。
So we'll call that psi 2, 0, wave function.
我们可以叫它psi2,0,0波函数。
And when you call a function, one of the things X that happens is whatever your passing in, for instance, X, ; and if this is A, this thing gets copied into A; so at that moment in time of calling increment, I actually have two copies of the same value in memory but they're referred to by different names.
当你调用一个函数,其中发生的一件事情是,不管你输入什么,比如,或者是A,它把这个东西复制到A中;,调用increment的时候,实际上在内存中,有两个同样的值的内存块,但是它们有不同的名字。
Well, yes, they do, so why don't we call that to which they refer -for example, in the case of socialist realism or indeed realism of any kind, why don't we call that to which they refer the "society function"?
是的,的确是这样,我们为什么不把他们都称为,无论是在社会主义现实主义,还是任何一种其他的现实主义下,称为社会功能?
Well, I call class just like a function, and you can see that below.
也就是pass了,在python中它的意思就是说。
So they're the same shape, this is the shape of the orbital or the shape of the wave function, and we can call this either 2 p x a being combined with 2 p x b, or we could say since it's the same shape, it's 2 p y a being combined with 2 p y b.
它们形状是一样的,这是轨道的形状或者波函数的形状,我们叫它2pxa和2pxb结合,或者我们说因为它们的形状是一样的,它是2pya和2pyb结合。
应用推荐