Many people hear it and think it is Mary,M-A-R-Y, instead of M-E-R-R-Y.
VOA: special.2009.12.21
When I call this class definition, it calls init, init and I give it an x and a y value.
我说过,当我们,调用这个类的定义的时候,它会去调用。
Well you know what a point is, it's got an x- and a y- coordinate, it's natural to think about those two things as belonging as a single entity.
把这两个坐标认为,是属于一个独立的实体,是理所当然的事情,因此实现这个目的的。
Y I'm not passing an x and I'm not passing a Y, &y I'm passing an ampersand x and ampersand y and can you take a guess as to what the ampersand operator must mean?
我不是传递X,也不是传递,我传递的是&x和,你们可以猜一猜,这个&符号是什么意思?
Once you do that, I think it's fairly clear that it has got a y component that's given by cosine the x component is negative.
用了这个结论,我想很明显,y 分量由 cos φ 给出,它的 x 分量是负的
So we're talking about an experiment when you generate-- Each experiment generates both an x and a y observation and we know when x is high, y also tends to be high, or whether it's the other way around.
这里说的是由试验产生的,每一次试验可以获得一组x与y的观察值,当x值大的时候,y值可能也大,或者相反
Suppose f of x, y, z equals k1, that is my equation, s1 and it gives me a solution s1.
假设我的方程是这样,然后给出了一个解。
Remember, we don't do a one-to-one correlation, because p x and p y are some linear combination of the m plus 1 and m minus 1 orbital.
记住,我们不需要把它们一一对应,因为px和py轨道是,m等于正负1轨道的线性组合。
He still incurred -C because he ran and he also has a cost of |x-y| because he doesn't like Mr. Y winning.
他同样有-C的收益因为他参加了竞选,且他还有|x-y|的成本,因为他不喜欢Y先生获胜
And I originally decided I was going to have as points, it's going to have internal values of an x and a y.
写了一堆代码,然后我以开始决定,是要把值放到点里面的,点有内部的x坐标和y坐标。
It's easy to think of a point as just a list of an x- and a y- coordinate.
或者说有两个元素的数组,把一个点认为是含有x坐标。
So, what we have found out so far, I'm purposely going from x to y because I want you to know that the unknown variable can be called an x or can be called a y.
到目前为止,我们有这些结论,我特地把x换成y,因为我想让你们明白,未知变量既可以写成x,也可以写成y
The power of linearity is F=k1+k2 if I come across f of x, y, z equals k1 plus k2, if it is a linear equation, I don't have to go and solve it all over again.
线性的威力是,一个方程,如果它是个线性方程,那么我就不用再去解他了。
So this is giving me now that template, better way of saying it, all right, a template now, for a point is x, y, radius, angle.
其他的方法来进行计算,但是这就是典型的我,要放置它们的地方,因此这就给了我一个模板。
So who the sender is, so maybe you could keep track of just who your most frequent correspondents are and if you keep seeing the same personfrom person X or person Y coming into your inbox and clearlyI like having a dialog with these people or have to for work, that might in fact bubble up in your inbox.
谁是发送者,你可能会保留最近跟你联系最频繁的人,如果你发现某某人频繁发送邮件给你,这说明你喜欢和这些人保持联系,可能因工作的原因必须保持联系,那么该邮件就有可能,上升到你邮件的最上方。
Say, Binky, I don't think dereferencing y is a good idea because, you know, setting up the pointee is a separate step and I don't think we ever did it.
你说,Binky,我不认为不关联y是一个好主意,因为,你懂的,调定指针数据是一个单独的步骤,我不认为我们这样做了。
It can be x plus some change in x plus j times y plus a change in y.
可以写成 x 加上 x 方向的变化量,再加上 y 加上 y 方向的变化量
So we can have, if we have the final quantum number m equal plus 1 or minus 1, we're dealing with a p x or a p y orbital.
所以如果我们有,磁量子数m等于正负1,我们讨论的就是px或者py轨道。
If it's in polar form I passed in a radius and angle and I'll compute what the x- and y- value is.
以及半径和角度,但是现在是这样的,不管我是以哪种形式。
y >> Yeah. We allocated the pointer y but we never set it to point to a pointee.
>,是的,我们分配了指针y,但是,没有指向任何数据。
It becomes a 13 and that is consistent with the code and it also doesn't crash because now y has been assigned to the correct value.
它变成了一个13,这个和代码是一致的,程序也不会崩溃,因为现在y被赋了正确的值。
Somebody who is a math major, tell me how to solve out for the X and the Y.
哪个数学专业的同学,来告诉大家如何解出X和Y的值
And you can very quickly take this feature to an extreme 10 and start putting X and Y and A and B and 10 and all your variables up top because it would seem to solve all of your problems and stop all of your thinking, but it's generally not a good thing.
你可能迅速地使这个特征成为一个极端,开始把X和Y和A和B和0,和所有的变量都放在最前,因为好像它可以,解决你的所有问题,并中止你的想法,但通常这不是一件好事情。
This now has, gee, a funny thing, x it says IF x is less than y AND x is less than z, then do something.
代码现在有,啊,一个有趣的东西,代码先是判断x是不是小于y并且,是不是小于z,然后做一些事情。
So let's think about a particular consumer, so suppose this consumer is here, at point Y say.
让我们来考察一个特定的消费者,假设这个消费者在这,在Y点
If you know the second derivative of y to be a, then the answer looks like this.
如果你知道y的二阶导数是a,那么这就是答案
If I make a little chart here, iters left I've got x, y, and iters left.
让我在这里画个小图,我有三个变量,x,y和。
Now, unlike high school math or in algebra Z where you call things X and Y and Z, in programming, in computer science, you're actually dealing with humans where it's useful to have a variable name that's more descriptive than X and Y and Z.
不像高中数学或者代数中,称为X和Y和,在程序设计和计算机科学里,你实际上是在和人打交道,在这里有个描述性比xyz更强的,变量名称是很重要的。
So here we have energy increasing on the y-axis, and you see this straight line at the bottom here is lower down on the graph, and that's the energy of a bound electron, so that's going to be a low stable energy.
这里我们看到能量沿着y轴增加,而且在这张图片上,这条直线在底部是降低的,那是一个束缚电子的能量,所以那是一个低稳态能量。
So if she consumes from Firm 1 she has to walk a distance of y.
如果这个消费者想去公司1她要走Y距离
应用推荐