Same way that I have multiplication or division as a primitive, functions are going to give me, or somebody else who wrote them for me as part of a library, a new primitive that I'm going to be able to use.
我在用乘法或者除法当做原语,这些函数,或者别人写程序库中的函数,将会给我返回一个,我能使用的新原语。
I've got one test there, and then I've just got one thing to do here, which has got a subtraction and a multiplication.
这儿有一个比较,然后在一个基本步骤里,做了一个减法和一个乘法两个基本操作。
You might recall from grade school sometimes you put things in parentheses so that your addition happens first, then your multiplication, otherwise multiplication would happen by default first.
你们可能会想起小学时,将一些加法表达式,放在圆括号里,这样加法可以先计算,然后是乘法,否则,乘法默认先发生。
One of the first principles of probability theory is called the multiplication rule.
概率论的最基本的原则,有一条叫乘法原理
You still could do your multiplication tables.
你还是能够做乘法的。
That makes sense if you think about this process of cell multiplication, that I have one cell it becomes 2 cells in a minute, it could become 4 cells in another minute, it could become 8 cells in another minute and that's all that this set of equations is representing.
如果你和细胞增殖的过程联系起来的话,这个是说的通的,我有一个细胞在一分钟里变成了两个细胞,那就可以再花一分钟变成四个细胞,再花一分钟就变成八个细胞,这就是这个方程所代表的意义
Just as in grade school when you're doing division and multiplication, you do it from left to right in terms of order of operations.
正像是在小学你做除法和乘法的时候,你毫不含糊地从左到右,按顺序做运算。
And I'm going to do it only using multiplication and addition and some simple tests. All right?
我只能用乘法和加法,以及一些小测试来解决这个问题?
Because this is overloading that multiplication operator with two different tasks.
因为这会造成使得乘法操作符,对两种不同的任务造成重载。
STUDENT: Standard order of operations, I guess take the multiplication first, and add the three.
学生:标准运算符的顺序,我猜是先做乘法,然后再去加3。
I can do multiplication.
我们已经看到了。
I've got one test, I've got a subtraction, I've got a multiplication, that's three steps, plus whatever number of steps it takes to solve a problem of size b minus 1.
我进行了一次比较,一次减法,一次乘法,一共是三个步骤,再加上t的步骤数。
应用推荐