解 r = {a sin cos ,a sin sin , a cos } , r = {a cos sin , a cos cos ,0} 任意点的切平面方程为 a sin cos 与三坐标轴的交点分别为(3u,0,0),(0,3v,0),(0,0, ..
基于1个网页-相关网页
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的循环。
the amplitudes for base states where x is |1> are multiplied by exp(i*a)=cos(a)+i*sin(a).
x 是 |1> 的基态振幅乘上了 exp(i*a)=cos(a)+i*sin(a)。
Transcendental mathematical functions (such as pow, exp, log, cos, sin, tan, etc) will tax the GPU greatly, so a good rule of thumb is to have no more than one such operation per fragment.
一些超越数学函数(如pow, exp, log, cos, sin, tan等)将增大GPU计算的负担,所以一个好的法则就是在每个片段中使用不多于一次的这种操作。
应用推荐