• So in general, when you're running command line programs, they can take input or arguments or parameters or switches or flags.

    一般而言,当你运行命令行程序时,可以把把这些当做输入,像什么参数啊,或开关啊,或标志啊等等。

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

  • The result-- or one or more arguments or parameters that result of which is-- that will influence its behavior.

    可能是一个或多个参数,因为不同的参数会影响它的输出。

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

  • OK, so I don't have to, it's a great question, I don't have to create a second one for cmp.

    但是参数的顺序是相反的,好,那么我就不必,这是个很不错的问题,我就不必再创建。

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

  • are all functions of state and parameters that we can control like temperature and pressure.

    公式里面的全部都是态函数,我们控制态函数的参数比如温度或者压强。

    麻省理工公开课 - 热力学与动力学课程节选

  • Oil is a very important asset, ... so we want to compute what that-- so now we have lots of inputs.

    石油是一种重要的资产,我们想计算-,现在我们有许多参数

    耶鲁公开课 - 金融市场课程节选

  • It's a geometric factor that's unique for each crystal structure.

    特有的几何参数,对不同晶型而言。

    麻省理工公开课 - 固态化学导论课程节选

  • So, time is measured as a parameter along the motion of the particle.

    这样,时间就被记为质点运动的一个参数

    耶鲁公开课 - 基础物理课程节选

  • So if we lower the synergy here, not only do I contribute less effort, but you know I contribute less effort, and therefore you contribute less effort and so on.

    如果我们减少协同参数,不但我会少付出努力,而且你也知道我会少付出努力,因此你也会少付出努力,以此类推

    耶鲁公开课 - 博弈论课程节选

  • I want to talk about - move on and talk a little bit about some general concepts from physiology that are really important and here is a table that gives characteristics of an average person.

    接下来我想说一些,生理学上非常重要的基础性的概念,这里有一个表格,给出了一个普通人的特征参数

    耶鲁公开课 - 生物医学工程探索课程节选

  • Before long we'll see that you can actually put things inside those parentheses which make your programs even more useful.

    不久之后,你们就可以看到,我们是可以在括号里面加参数的,这些参数可以让你的程序更有用。

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

  • I've got two parameters, they're separated by a comma. Ah, right. Sorry?

    我说的是什么?20和56对吧?注意格式,我有两个参数,它们由一个逗号隔开?

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

  • I'm then printing bracket one, bracket two, bracket three, bracket dot, dot, dot up until the total number of arguments, 1 whatever that may be, and it's going to be at least one because the program always has a name.

    然后我打印,括号等等等,知道打印完所有的参数,不管那个最大值可能是什么,它将至少为,因为程序总是有一个名字。

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

  • But this choice of names, both for my functions and also for my parameters or my variables is completely up to me.

    但是这个名字的选择,包括我的函数名,和我的参数名,或者变量名都是我定义的。

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

  • But, on the other hand, you don't want high variance because that's risk; so, both of those matter.

    但另一方面,你不想要高水平的方差,因为它代表风险;,因此这两个参数都很重要。

    耶鲁公开课 - 金融市场课程节选

  • If you want it to take a so-called argument or a parameter, there's a subtle semantic distinction between arguments and parameter, but for all intents and purposes, they're the same thing.

    如果你想要你的函数携带参数或,参量,这里有一个微妙的语义差别在,参数和参量之中,但是为了所有的意图,和目的,他们作用是一样的。

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

  • PROFESSOR: And so in this case, it's using the same piece, but it's returning that middle value that says they're actually the same.

    教授:那么实际在这个例子中,我们用的是同一个函数,它返回了中间的值也就是,0来表明着两个参数

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

  • Now, the most interesting one for our class the equation of state that's the most interesting, is the Van der Waals equation of state, developed by Mr. Van der Waals in 1873.

    由范德瓦尔斯在1873年发展起来,这个方程的美妙之处,在于它只需要两个参数,下面我们来研究一下。

    麻省理工公开课 - 热力学与动力学课程节选

  • Buying them tends to push up the price; that tends to influence the yield down so it encourages a lower level of interest rate.

    买进它们,导致价格上升;,导致参数降低,所以它鼓励一个低的利率水平。

    耶鲁公开课 - 金融市场课程节选

  • You're going to see the arguments about space if you take some of the courses that follow on, and again, some nice courses about that. For this course, we're not going to worry about space that much. What we're really going to focus on is time.

    在以后的其他课程上你们,会学到一些关于空间的参数,一些讲这个的,很不错的课程,但是在这门课上,我们并不太关心空间问题,我们真正关心的是时间问题。

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

  • Well, thus far, I haven't written any programs that themselves take any such arguments, and yet it turns out I can do exactly that.

    到现在为止,我还没有写任何的,它们自己携带参数的程序,但是,我完全可以这样做。

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

  • This says, I need a second argument to it, and that second argument better be a point so I can do the comparison.

    这里我需要第二个参数,第二个参数最好是一个点,这样我就能做比较了。

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

  • But sometimes you can pass multiple things inside those parentheses, and so you separate them by commas.

    有时候我们可以往圆括号里填入多个参数,参数参数之间用逗号分开。

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

  • I know, for a lot of you, it's like, OK, I got a heavy problem. Let's see, def Foobar open paren, a bunch of parameters.

    我知道这对你们中的大多数人来说,应该没问题了,好,这儿我碰到了,一个严重的问题,我们看看,一堆参数

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

  • When you think about an int or a float or a dictionary or a list, you knew that there were functions that operated on them.

    当你想到整型,浮点型,或者链表时,你知道可以用函数去处理他们,但是当你传递一个参数,例如链表。

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

  • self First argument by convention is always self, because it has to point to the instance, and then I pass, in this case, another couple of arguments in.

    第一个参数往往是,因为它必须指向实例,然后我传入了,在这个例子中。

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

  • You have to be ever so explicit as to what data type your actually passing in.

    你必须很清楚,你们输入的参数是什么类型的。

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

  • All right. How do we go about choosing these parameters?

    好了,我们怎样选择这些参数呢?

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

  • fib So I'll create Fib 1, fib1 which has the same arguments as Fib.

    所以我将会创建和,有相同参数的。

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

  • I'm first printing the zero argument which I said is the name of the program itself.

    我先打印参数,这是那个程序本身的名字。

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

  • I'm actually just going to do something simple first, print the arguments to this function.

    我实际上将要先做点简单的东西,打印函数的参数

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

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

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

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