OK. So if we have variables, one of the questions we can ask is, what's the type of the variable.
好,如果我们有了一个变量,我们要问的问题之一就是,这个变量的类型是什么?
That's not just a set of functions--variables, as one might say in the lab.It's produced by genius.
它不仅仅只是一套机器,像人们在实验室所见的一样多变,它是由天才创作的。
So the state variables describe the equilibrium's state and they don't care about how this state got to where it is.
状态变量,描述平衡态,它们并不关心,系统是如何演化成这样的。
The Taylor rule specifies specific variables and everybody at the markets would understand the rule, ? and that's correct, right?
像泰勒规则就明确了具体的变量,市场中每一个参与者也都能够理解,这个没错吧?
It turns out that slightly before the stack, slightly before this conceptual chunk of memory, there's other things called environment variables that we may see over time but elsewhere in memory are other things.
结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。
We have instead what's called a probability density when we have continuous random variables.
所以我们用概率密度的概念来描述,连续型随机变量的情况
And so we saw that as well, the last piece we had here is the ability to create variables, which have their own values, and that's done using an assignment statement.
我们也可以看到,这里我们最后的是,创建了一些变量,这些变量都有自己的值,这是运用了赋值声明来完成的。
So, let's go ahead and define our variables here, they should be familiar to us. We have the mass, first of all, me m is equal to m e, so that's the electron mass.
让我们继续定义这些常数,我们对这些应该都很熟悉了,首先,我们有质量,m等于。
Now, this is still a little bit cumbersome, in part because of the variables involved, S including S.
但是这个方法还是有一些笨拙,部分是因为所涉及的变量,包括。
Conceptually, it's put at the top of my chunk of RAM, -- below it, goes initialized and uninitialized data -- - this is a fancy way of saying global variables come next -- and below that, comes what's called the heap.
概念上,它放置在内存块的顶端,在下面,已初始化的和未初始化的数据-,这是一种指明紧随其后的全局变量的设想方式-,在后来,引入了一个叫做堆的东西。
And just as with variables, you should use some common sense, some style here, and the function's name should X Y communicate what it does, calling it X or Y or Z is generally not all that helpful.
就像变量,你使用一些常识,一些类型,和函数名需要,传达它所做的事情,把它叫做,或者Z通常是没有什么用处的。
应用推荐