• The syntax is OK in the sense of, it is an operand, an operator, an operand, so syntactically it's OK.

    这里的语法应该是好的,有个运算对象,一个运算符,另外一个运算对象,因此语法上是没错的。

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

  • OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.

    这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作符重载有关的东西。

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

  • - And here as promised is that other operator -- looks a little weird, but because assignment is already using the equal sign to assign one value on the right to a variable on the left.

    在这里正像所承诺的那样,其他的操作-,看起来有点怪异,但是因为“=“已经被用来当赋值运算符了,用来把右边的一个值赋值给左边的变量。

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

  • So here I've written for the hydrogen atom that deceptively simple form of the Schrodinger equation, where we don't actually write out the Hamiltonian operator, but you remember that's a series of second derivatives, so we have a differential equation that were actually dealing with.

    这里我写出了,氢原子薛定谔方程的,最简单形式,这里我们实际上,没有写出哈密顿算符,但是请记住那你有,一系列的二次导数,所有我们实际上会处理一个微分方程。

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

  • The semantics was what caused the problem, because the operator was expecting a particular kind of structure there.

    引起问题的是语义,因为运算符需要的是,一种特定种类的数据结构。

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

  • Well, the assignment operator makes a copy of the thing on the right and puts it in the thing on the left.

    赋值操作符把右边的东西,复制到左边。

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

  • The reason I say that is, by having operator overloading I can use 1 generic interface to all of the objects that I want to use.

    他在大多数情况下都是对的,我要这么说的原因是,通过运算符重载我可以,用一个通用的借口对。

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

  • Because this is overloading that multiplication operator with two different tasks.

    因为这会造成使得乘法操作符,对两种不同的任务造成重载。

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

  • And one of the things neophytes trip over early on is that we'll soon see there's not only an equal sign operator, there's equals equals.

    这样我们还要引入了一个新的操作符,我们将看到这里不仅有一个等号的操作,还有双等号。

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

  • So, I'm now multiplying by the result of calling the size of operator, which we've seen before.

    现在我乘以运算符的大小,之前我们看到的。

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

  • So this is the equality operator, whereas the single equal sign is the assignment operator.

    所以这是相等操作符,然而那个单等号是一个赋值运算符。

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

  • Now, we're using the equal equals operator and this conceptually is correct.

    现在,我们使用==符号,这是正确的。

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

  • What I want to point out also is that this h hat, the Hamiltonian operator written out for the simplest case we can even imagine, which is a hydrogen atom where we only have one electron that we're dealing with, and of course, one nucleus.

    我也想指出的是,我们能想到的最简单情况,的哈密顿算符,是一个只有一个电子,也只有一个原子核的氢原子。

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

  • Just take a look: if this is 9, 5 divided by 9 is always going to be 0 point something, and if you thus have two integers and you're rounding down, which is what happens when you do integral math we're using this operator, I'm going to get zero times whatever.

    稍微看一看:如果这是9,5除以9会得到,0点几,如果你用两个整型数,你舍去小数,这就是当你们,用整型数使用这个操作的所发生的事情,我将得到数值0乘以任何一个数字。

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

  • STUDENT: What does it mean, the operator used, when you were calculating the remainder between nine and five?

    学生:这是什么意思,当你用这个运算符去算,9除以5的余数的时候?

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

  • So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.

    它还可以应用于其他一些东西,因此这样做操作符重载,就会产生一些负面影响了,以我的观点来看的话。

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

  • The equal sign is really called the "assignment operator."

    那个等号其实是个“赋值运算符“

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

  • So the assignment operator thus far makes copies of things.

    所以到现在为止,赋值运算符复制了很多数据。

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

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

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

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