The result-- or one or more arguments or parameters that result of which is-- that will influence its behavior.
可能是一个或多个参数,因为不同的参数会影响它的输出。
Before long we'll see that you can actually put things inside those parentheses which make your programs even more useful.
不久之后,你们就可以看到,我们是可以在括号里面加参数的,这些参数可以让你的程序更有用。
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.
这样,时间就被记为质点运动的一个参数
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.
接下来我想说一些,生理学上非常重要的基础性的概念,这里有一个表格,给出了一个普通人的特征参数
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.
然后我打印,括号等等等,知道打印完所有的参数,不管那个最大值可能是什么,它将至少为,因为程序总是有一个名字。
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.
在以后的其他课程上你们,会学到一些关于空间的参数,一些讲这个的,很不错的课程,但是在这门课上,我们并不太关心空间问题,我们真正关心的是时间问题。
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.
买进它们,导致价格上升;,导致参数降低,所以它鼓励一个低的利率水平。
So let me go ahead and pull up the staff solution 15 to the standard edition for a moment, the game is called 15, it takes one command line argument which is the dimensions of the board 3 by 3, 4 by 4, I'll do it 4 by 4.
下面我们继续,等一会儿,我会给出标准的解答,这个游戏叫做,有一个命令行参数,标识其大小是,3阶还是4阶,我选择4阶。
Once you've got them together, then you can compute the efficient portfolio frontier without the riskless asset.
当你明确了这些参数后,就可以算出没有无风险资产情况下的,有效边界了。
The prototype is just its return value, its name, and its arguments, if any.
原型就是他的返回值,它的名字,它的参数之类的。
I take something with the same parameters memo as the original. Add this memo.
我将用相同的参数进行初始化,并加上这个。
The only thing that you have to put in the function prototype, ; again, is three things; one, the name of the function; the return value; and its arguments.
你唯一要加入到函数原型中的东西,是有三个东西,一,函数的名字;,返回值,和它的参数。
But it turns out that as we'll see that functions absolutely take arguments, right?
但结果是我们将看到,函数绝对是有参数的,对不对?
I'm not wasting time typing out arguments and implementing more complicated function.
我不会在浪费时间在打印输出参数上,我执行了更复杂的程序。
It does not check the types of its arguments at all.
它根本不检查它的,参数的类型。
An argument or a parameter is an input to a function.
参数或参量是一个函数的输入。
We'd like to be able to slice them.
以及其他一些的参数和属性。
The more x moves, the bigger the variance is.
参数的变动越多,方差就越大
We also need some measure of-- We've been talking here about measures of central tendency only and in finance we need, as well, measures of dispersion, which is how much something varies.
我们也需要其他的指标,目前为止,我们只讨论了集中趋势指标,在金融学中,我们同样需要,离散趋势指标以衡量参数的变化程度
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.
到现在为止,我还没有写任何的,它们自己携带参数的程序,但是,我完全可以这样做。
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.
我知道这对你们中的大多数人来说,应该没问题了,好,这儿我碰到了,一个严重的问题,我们看看,一堆参数。
应用推荐