平方根(SQRT) 指令: 对32位实数(IN) 取平方根, 并产生一个32位实数结果(OUT) , 如以下等式所示:INOUT 正弦(SIN) 指令: 对角度值...
基于2332个网页-相关网页
C库及C++库都没有提供。 对于一个无效数值,通常可以用下列纯运算操作产生: 对负1开方(sqrt (-1)) : 会产生无意义的数(Nan) 除0 (1/0) : 会产生正inf数.(正无穷大:Infinite) 对0取对数(log(0)) : 会产生负inf数.
基于494个网页-相关网页
SQRT-PCR 本组实验利用半定量逆转录聚合酶链式反应
sqrt- 计算平方根
simplify sqrt 根式化简
SQRT Square Root Calculations 平方根计算
Sqrt of a matrix 矩阵的平方根
where (with pi = 3.1415... and sqrt() denoting the square root)
其中 ( pi = 3.1415...,sqrt() 表示平方根)
The help output for the math module shows the wide range of mathematical functions supported, including the sqrt function.
math 模块的帮助输出展示了所支持的大量数学函数,包括 sqrt 函数在内。
The math functions include abs(), acos(), asin(), atan(), atan2(), constant(), cos(), exp(), highest(), log(), lowest(), sin(), sqrt(), and tan().
其中的运算函数包括 abs()、 acos()、 asin()、 atan()、 atan2()、 constant()、 cos()、 exp()、 highest()、 log()、 lowest()、 sin()、 sqrt() 和 tan()。
Now that I've written sqrt, I can just use it anywhere I want in the code. You've got to rely on the fact that I wrote it correctly, but you can basically suppress the details of how it's used.
就是忽略细节,既然我已经编写了sqrt函数,我可以在代码的任何地方使用它,你完全可以依靠,我已经编写的这个函数。
to do sqrt, or square root-- no, I'm going to square root use sqrt, that's the name I'm using here-- square root a hundred different places in some piece of code. Without function, I'd have to copy that piece of code everywhere.
让我做一下准备,想象一下我要调用sqrt或者-,不,我会调用sqrt函数,这是我在这里用的名字,我得把这段代码到处复制。
All right? So if I called sqrt alone, that return test value is done, but in this case I bound it to test, so I can go look at test, and there it is.
执行完返回值语句,但是在这里我将把它赋值给,所以当我看test的值的时候就是返回的值。
应用推荐