So when you operate on the wave function, what you end up with is getting the binding energy of the electron, and the wave function back out.
所以当你将它作用于波函数时,你得到的是电子的结合能,和后面的波函数。
But when you pass a parameter say, a list, you didn't think that you were not only passing the list, you were also passing the functions that operate on the list. In fact you are.
你不会认为你输入的不仅仅是链表,你还传递了处理链表的函数,实际上你正是这么做的,这往往不重要。
They had these characters that would operate according to water flow and so if you stepped on a certain panel, a swordsman would jump out with a sword.
园林中有很多人偶造型,可以运用水流来控制他们的动作,当你踏上相应的踩踏板,一个剑客便会跳出来向你挥剑
And so on. How's that operate?
诸如此类,这是怎么实现的呢
In particular functions that operate on the data, perhaps on other data as well. The key idea here is to bind together the data and the functions that operate on that data as a single thing.
特别是处理数据的函数,也可能处理其他数据,这里的关键思想就是,将函数和操作数据的函数。
应用推荐