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()。
The Mix() operator (Hadamard operator) when applied to a bit in the |0> state will transform the state into sqrt(0.5)(|0>+|1>) as in the example above.
Mix()运算符(Hadamard 运算符)用于处于 |0>状态的位时,将会象上面的例子一样把状态转变成sqrt(0.5)(|0>+|1>) 。
Exponential (log, log2, log10, exp, exp2, exp10, SQRT, cur).
指数函数(log、log2、log10、exp、exp2、exp10、sqrt、cur)。
It contains a nested loop that calls exp , cos , and sin , followed by a loop that calls sin and SQRT .
它包含了一个嵌套的循环,该循环会调用exp 、cos以及sin,接下来是一个调用sin和sqrt的循环。
It is not advisable to attempt to write your own normalize, dot, inverse, SQRT operations, however. If you use the built-in ones then the driver will generate much better code for you.
不建议您自己写normalize,dot,inverse,sqrt等操作函数,如果您使用内建函数,底层驱动将会为你生成更好质量的代码。
It is not advisable to attempt to write your own normalize, dot, inverse, SQRT operations, however. If you use the built-in ones then the driver will generate much better code for you.
不建议您自己写normalize,dot,inverse,sqrt等操作函数,如果您使用内建函数,底层驱动将会为你生成更好质量的代码。
应用推荐