Usually what I want to talk about is what's the smallest size class in which this function grows? With all of that, what that says b is that this we would write is order b.
通常我们想要的是,方法增长时最贴切的描述,也就是说,在这个问题上,算法关于。
And what's this little loop say to do? This little loop says I'm going to write a function or procedures that takes in two messages.
这个小循环是做什么的,这个小的循环是,我要写一个函数或者过程来接受两条消息。
psi1 0 0 We can call that psi 1, 0, 0, is how we write it as a wave function.
我们可以叫它,这是我们作为波函数的形式写出它。
So it turns out that, main, yes, is the default function you write, at least in C, when writing a program.
结果是,main函数,是的,这是你写的默认函数,至少是在C语言中,当写程序的时候。
If you want to write a function that describes this line here, it's pressure as a function of volume related to each other with this constant.
如果要写出描述这条等温线的方程,它的压强和体积,就通过常数C相联系起来。
Let me write a function, in fact the literal thing I would do is to say, identify the things that change, give each of them a variable name because I want to refer to them, and then write a function that captures the rest of that computation just with those variable names inside.
让我来写个方法,实际上我的意思是,辨别出变化的东西,然后给它们逐个命名以区分,然后写一个用来计算,这些变量的,包括计算过程的方法。
I'm going to write a function to compute integer power exponents.
我要去写一个,计算一个整数幂指数的方法。
But it's the really correct way to specify that this function takes no arguments is to actually write this key word "void."
但是这的确是正确的方法来指明,这个函数是没有参数,实际上是写了这个关键字“void“
But for now, think of this as just another way to write a function call.
但是现在,把这当成是写函数,调用的另外一种方式就行了。
应用推荐