But don't worry about it, it's not, I'm just using it because it's a simpler example than the one I really want to get to, which is knapsack.
但是别担心,我讲这些是因为它比我,真正想讲的问题简单一些,我想讲的是背包问题。
And I'm going to do it only using multiplication and addition and some simple tests. All right?
我只能用乘法和加法,以及一些小测试来解决这个问题?
If I'm now working in one dimension, it's obvious because I'm not using any vectors.
假设我现在只考虑一维的情形,这很明显,因为我没有用矢量
I'm using it just to make the point, which you already know about; that the nervous system is complex in it performs a complex set of functions.
我想通过这张图片阐述一些,你们已经知道的知识,即神经系统是一个,功能复杂的复合体
In 1957, they reformulated it and they called it the Standard & Poor 500, but I'm using their long theories, back to 1871, so I can't call it the 500; I'm calling it the Composite.
在1957年,他们将其重建,并命名为标准普尔500指数,但这里用到的是1871年发布的理论,所以不能称之为500,我称之为综合指数
I'm using the term mythology now the way we used it in the last lecture when we were talking about Kaufman's work.
我这里说的神话与上一节课中所指是同一个意思,就在我们讨论Kaufman的作品时。
It's a little more readable because I'm using a Boolean value that tells me, the programmer, this is true or this is false.
它更具有可读性一点,因为我使用了一个bool值,它告诉我或程序员,这是正确的或这是错误的。
I'm using Python's is comparator to say is it the same thing?
来看看这两个东西是不是同一个,它说不是,但是如果我的意思是?
I'm using the fact that when you take a cosine and change the angle inside the cosine, it doesn't care. whereas, if you go to the sine and change the angle inside the sine, it becomes minus sine.
我用了一个结论,当你使用余弦函数时,改变角度的正负,函数值不变,而对于正弦函数,改变角度的符号,则函数值也会变号
I'm using it as an abstraction, saying I'm going to have square root from somewhere, maybe I'll build it myself, maybe somebody gives it to me a s part of a library, so I'm burying the details inside of it.
我把这个方法作为一个抽象来引用,意味着我将会从另外一个,地方去求一个数的平方根,可能我会自己写这个方法,也可能我会从别人写的lib中去引用,因此我将实现的细节放到了其他地方。
Otherwise you could have a squirrel host-- I'm using squirrels, because I think that's funnier than other animals to think of— but it could be any potential host, right?
否则松鼠就会变成宿主,我拿松鼠举例,是因为我觉得它比别的动物更有趣,但潜在宿主可以是任何动物,对吧
应用推荐