So first, I choose a volatility randomly, from some distribution of possible volatilities 2 from to, in this case, 0.2.
来决定的一个值,所以首先我先随机选择一个浮动值,从可能的浮动值中的分布进行选择,在这个例子中就是0。
So even though we think of conditions as being Boolean values true or false, really underneath the hood true means anything other than zero.
即使我们考虑,布尔值的真假条件,在底层“真“表示非零。
Given the abstraction, the notion of a point as an instance with some values, I can now start building segments.
真的很有帮助,基于这个抽象,点的概念也就是一个,有一些值的实例。
Take the difference of the two velocities and divide by the difference of the two times, and you've got the acceleration.
求出速度的差值,除以时间的差值,这样就能得到加速度
So, sometimes people get confused when they're solving problems and call the amplitude this distance all the way from the max to the min but it's only half of that because we're only going back to the average level.
解题的时候会弄错,把这个从,最大值到最小值的距离,叫做幅值,但实际上,只有它的一半,只是它和平均值的差距。
You know, if you want to measure the potential energy of something in a gravitational field, you have to define the zero somewhere, right, because it's arbitrary. You can set it anywhere you want. It's the same with enthalpy.
你知道,如果你想测量重力场,中某种东西的势能,你需要,在某处定义一个零点,对吧?,因为势能的值是任意的,你可以把它设定在。
And, this minimum here is what gives us the value of the inter-electrode separation, the inter-ion separation.
这个最小值就是,电极间距离的值,离子间距离的值。
This refers to random variables that have fat-tailed distributions-- random variables that occasionally give you really big outcomes.
这就表示,服从长尾分布的随机变量,这些数据出现极端值的概率比较大
STUDENT: PROFESSOR: There's a value here, what's this value?
学生:听不见:,教授:这里有一个值,它的值是多少呢?
First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
So if we're keeping n the same, we look and what we saw was that size actually decreases as we increase the value of l.
如果我们保持n不变,我们看到随着l值的,增大尺寸变小。
And that's really a placeholder for the comma-separated list of values that I put after those quotes.
这其中还有一个逗号分开的有值的占位符,我把它放到了引号之后。
And this is given the value the notation Avogadro's number we call it.
那个值的符号为,我们把它叫做阿伏加德罗氏数。
Which may take up some arbitrary amount of memory. In that case, I'm back to this problem.
然后将接下来的每一个内存块设置为,指向数组对应元素值的指针。
They only need to have values if you care GetInt about getting something back from them, get int, swap you care about its value; but swap, I don't want to hear it again.
它们只需要拥有值,如果你关心,它们的返回值,你关心它的返回值,但是,我不想再得到它的返回。
Well, you want to measure the left-hand side and you want to measure the right-hand side.
你需要测量左边的值,还要测量右边的值
In math, when you see multiple value solutions, these are eigenvalues.
在数学中,当你看到许多值的解法时,这些就是特征值。
They depend on who is looking at the vector.
它们的值依赖于矢量的观察者
Central tendency is a measure of the center of a probability distribution of the-- Central tendency is a measure-- Variance is a measure of how much things change from one observation to another.
集中趋势用以描述,一组概率分布的中心,集中趋势...,而方差衡量的是,各个观察值之间的变化
There's this notion of a Boolean value named after Mr. Bool, which is just a notion of true or false.
布尔值的概念是在布尔先生之后命名的,它是一个正确或错误的概念。
Don't think of it as a specific box into which we're putting things; think of it as a link to a value.
别把它想做是,我们放东西的一个箱子;,把它当做是一个指向值的链接。
And then I could also do a Gaussian one here, with the mean of and the standard deviation of volatility divided by 2.
然后我在这里再写一个高斯分布的函数,它的浮动值的平均值和,标准偏差值都除了2。
And the answer is, you can use a variable anywhere you can use the value.
答案是,在需要用到值的,任何地方都可以使用变量。
I don't have to go read what it printed out in the screen. This has returned a value that I can use. Because I could do a test to say, is this a return value? If it's not, I'll do something else with it. So the binding is still there, it simply doesn't print it out.
我不想读到屏幕中打印出来的这行字,程序返回过一个我能够使用的值,因为我可以做个小测试,来说明这是否是返回的值,如果不是,我可以做一些其它的事,而这个绑定依然在这儿,没有打印任何东西。
So I can similarly do this, which is going to look strange because it's going to give me the same value back out, but it actually did a slightly different thing.
我也可以通过类似的手段来达到这个目的,这看起来很奇怪,但是会返回相同的值,但是它的实现真的有点不同。
So, I mentioned we should be able to figure out where the maximum amplitude is.
我说过,我们可以找到,幅值的最大处,你们看到。
Now, this is not the nicest way to do it but it'll work. I can look at the type of the value of base and compare it to the type of an actual float and see, are they the same?
这不是最好的办法但它确实有用,我可以得到底的值的类型然后,和一个真的浮点数的类型比比,看他们是不是一样?
And it's up to me to put that return value in a variable.
那个放在变量中的值是取决于我所赋的值。
And when I do this test, what I want to do, is say I'm going to pick the middle spot, and depending on the test, if I know it's in the upper half, I'm going to set my start at the mid point and the end stays the same, if it's in the front half I'm going to keep the front the same and I'm going to change the endpoint.
如果我知道目标数可能,再比中值点大的区间里,我可能就会把开始点设为中值点,而尾点不变,如果在小的那个区间里,就保持开始点不变而把尾点设为中值点,你们可以看到这儿的代码,就是这么做的,对不对?它是怎么做的?
All right. So these are extremely valuable.
好,因此这些东西都是可以当做值的。
应用推荐