So we see that I've doubled the size of the vector but I've much more than doubled the number of calls.
所以我们看到我,把向量的大小翻倍了,但是我调用的次数,不仅仅是翻倍了。
There's the vector, and again you'll see this in your handout, says I only took the first item.
你们同样可以在讲义上看到这个向量,意思是我只拿了第一种物品。
So in the textbook, you'll sometimes see the term a strategy profile or a strategy vector, or a strategy list.
你会看到有的课本中称它为,策略组合,策略向量或者策略列表
So this particular vector, you probably can't even see the whole thing on your screen. Well, it's got 40 items in it.
这个特殊的向量,在你的屏幕上可能都看不全,好的,它一共包括40件物品。
i It takes i, which is in some sense 1 the length of those vectors, minus 1, because of the way Python works.
还有i,某种意义上,是那些向量的长度减,减1由于Python的工作方式。
So there's the vector eight. Indicating I didn't take any of the items.
有8个0的向量,意思就是我一样东西都没拿。
I'd argue that MATLAB is basically a targeted language it's targeted at matrices and vectors and things like that.
我认为MATLAB是有特定处理对象的语言,它主要,面向矩阵和向量等。
So think of x as a vector of 0's and 1's.
可以把x看成是一个0和1的向量。
v The weight, w, and v, these are the two vectors we've seen here.
重量是w和价值,这是我们看过的向量的两个值。
to the n, every value in the 1 bit vector we looked at last time is either 0 or 1. So it's a binary n number of n bits, 2 to the n.
从2到n,我们上次看到的,位向量的每个值不是0就是,所以它是n,比特的二进制数,从2到。
应用推荐