• So for example I defined p, remember back over here, as a Cartesian point, but I can actually ask for its polar form.

    我可以要求返回它的极坐标形式,这里对我是可访问的,好,这很棒,请再记另外一个为什么。

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

  • Right, and just to get a sense of this, let's look at a simple little example, so on your hand-out, you'll see I've got a little piece of code that says assuming I've got one of these points, I want to do things with it, for example I might want to add them together.

    这些数组中的一个,你怎么能够知道,它是哪种类型的呢?,你怎么知道它是以笛卡尔坐标,表示的还是以极坐标,形式表示的呢?,你没有可以用来区分的东西,你没有说明这种信息,聚集实际上的意义。

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

  • I could say I want to change the radius of this particular thing.

    如果我去看看,这个点的极坐标形式

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

  • If I now say, I'm going to go ahead and change the radius of this, something, my polar form did it right, but what happened to the Cartesian form?

    如果我现在说,我要去改变这里的半径,一些这样的操作,我的极坐标形式,进行了正确的改动?

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

  • And I think in the polar one I said, if, what did I do there, I said, yeah, again if the x and y are greater than the other one, I'm going to return them to it.

    然后我要返回一些值,我认为在极坐标形式下我说过,如果,我在这里做了什么来着,我说过,对,再说一次,如果x和y坐标。

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

  • So what I'm leading up to here is that we've got a problem.

    假设实际上p1和p2是,我用极坐标形式表示的。

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

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

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

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