I've got one test there, and then I've just got one thing to do here, which has got a subtraction and a multiplication.
这儿有一个比较,然后在一个基本步骤里,做了一个减法和一个乘法两个基本操作。
But the first time I got here, I wasn't a graphic designer, just like first day.
但第一次来这里的时候,就像一开始一样,我并不是一个图像设计师。
And then I could do things like again, say, okay having done, that let me just run it here, run that, so I've now got polar point 1, and polar point 2.
然后给它们赋值半径和角度,然后我可以进行刚才的操作,也就是说,对刚才的笛卡尔坐标进行的操作,让我们来运行下它吧,运行下,现在我有一个极坐标点。
Not really, just because when I got here, I moved,
其实不难,因为我刚过来的时候,我搬家,
Now, just to repeat, again I know I've got some math phobics in the audience, let me just slow down a second, all I'm doing here is I'm saying look at this equation of the pink line, look at this equation of the blue line, X is when they cross, i.e., they are equal to each other.
我再重复一遍,我知道你们之中有些人数学不怎么好,我放慢一点说,我是这么解的,看这条粉线的方程,还有这条蓝线的方程,X是二者的交点,也就是说这点两个方程相等
Notice in the class definition here, is there, this is the first thing that's got called, and I just called with the value for x and the value for y, and it went off and did something for me.
就在这里,这是第一个被调用的东西,我用x的值和y的值调用了它,然后这个方法继续进行,并为了做了一些操作。
Down here, I've just got two things to merge, and then I've got things of size two to merge and then things of size four to merge. But notice a trade off. I have n operations if you like down there of size one.
但是n的大小是不同的,是吗?在这里我们只要合并两个元素,然后是合并长度为2的列表,接下来是合并长度为4的列表,但是观察一下之间的权衡关系。
I've got another little thing here that I'm going to use a little later on that just prints out values of things.
给我p2的x值,对它们进行比较,就像我们通常会做的那样。
应用推荐