What's the complexity of that inner loop?
我只想要得到内嵌的这个循环的复杂度?
Now this happens to be what we would call a linear process, because the number of times I go around the loop is directly related to the size of the argument. If I double 2 the argument, I'm going to double the number of times I go around the loop. If I increase it by five, 5 I'm going to increase by five the number of times I go around the loop.
这恰好是我们会成为,线性复杂度程序的一个例子,因为我要执行循环的次数是,和输入的参数的大小直接相关的,如果我将这个参数乘以,那么我就要将进行循环的次数也乘以2了,如果我把参数加上,那么循环的次数也要加上5了。
It expands. You change your constraints on your system, you heat it up some more, then you take the heat source away, and you put it back in contact with the atmosphere. And you cool it a little bit, change the constraints, cool it a little bit more, and heat, and you've got a closed cycle engine.
让它与大气接触冷却,改变约束,使它继续冷却,然后又再次加热,这就是循环热机,我们以前也研究过,更复杂的机器。
So you know your cycle, you know, you could have a whole complicated sequence on a p v diagram of steps going back.
因此,对某一的循环过程,可以在pV图上画出,一系列很复杂的小步骤。
应用推荐