搜索资源列表
Sqrt高速算法分析
- 介绍了Domm2中sqrt函数的快速算法的分析(英文内容),据说比标准函数快4倍
sqrt
- 求解正数的算数平方根,非c语言自带函数!-Solution is the square root of the number of counts, non-c language of its own function!
genhaoC
- 牛顿迭代法开根号 比库函数sqrt()快-more efficient way in sqrt
chuanshuo
- 判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。-Method to determine the prime numbers: a number were removed 2 to sqrt (this number), if divisible, it indicates that this number is not prime, and vice versa is a prime number.
fractal-use
- 分形的练习一 ①Koch曲线 用复数的方法来迭代Koch曲线 clear i 防止i被重新赋值 A=[0 1] 初始A是连接(0,0)与(1,0)的线段 t=exp(i*pi/3) n=2 n是迭代次数 for j=0:n A=A/3 a=ones(1,2*4^j) A=[A (t*A+a/3) (A/t+(1/2+sqrt(3)/6*i)*a) A+2/3*a] end plot(real(A),imag(A)) axis([0 1 -
KalmanGain
- 卡尔曼滤波在单片机上的应用 KalmanGain = EstimateCovariance * sqrt( 1 / ( EstimateCovariance * EstimateCovariance + MeasureCovariance * MeasureCovariance )); //计算本次滤波估计值 EstimateValue = EstimateValue + KalmanGain*( Measure – EstimateValue ); //更新估计协方差 Es
Prime
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -Discrimination of prime numbers
script2_music_circulaire.m.tar
- fs = 8000 t = (0:1/fs:1). x1 = cos(2*pi*t*300) x2 = cos(2*pi*t*400) ha = phased.ULA( NumElements ,10, ElementSpacing ,1) ha.Element.FrequencyRange = [100e6 300e6] fc = 150e6 x = collectPlaneWave(ha,[x1 x2],[10 20 45 60] ,fc) rng def
Desktop
- #include<stdio.h> #include<math.h> main() { int i,x scanf(" d",&x) for(i=2 i<=x-1 i++) if(x i==0) printf("NO\n") for(i=2 i<=x/2 i++) for(i=2 i<=sqrt(x) i++) } 第十行不加冒号时出错信息为: C:\Documents and Settings\w
Previous-Backup-of-3843.~(1).Sch.Zip
- CORDIC算法的核心在于利用加减和位移运算(对于FPGA很合适的运算),计算一个矢量的相位和幅度。 我们知道FPGA上没有开根号这样的运算,所以如果给定I,Q信号,计算其幅度sqrt(I^2+Q^2),-5110 liquid crystal display (LCD)
codings
- codings for layer Program 13.1 Golden Section Search for minimum of f(x) Start with unimodal f(x) and minimum in [a,b] Input: inline function f, interval [a,b], number of steps k Output: approximate minimum y function y=gss(f,a,b,k) g=(s
hive函数大全
- hive函数大全 一、关系运算: 4 1. 等值比较: = 4 2. 不等值比较: <> 4 3. 小于比较: < 4 4. 小于等于比较: <= 4 5. 大于比较: > 5 6. 大于等于比较: >= 5 7. 空值判断: IS NULL 5 8. 非空判断: IS NOT NULL 6 9. LIKE比较: LIKE 6 10. JAVA的LIKE操作: RLIKE 6 11. REGEXP操作: REGEXP 7 二、数学运算
sqrt_fast
- use fast function for calculate SQRT at c/c++
最新JAVA编程题全集(50题及答案)
- 编程题合集,题目1:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少????题目2:判断101-200之间有多少个素数,并输出所有素数。 程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。(Java of university classes)