搜索资源列表
ImageTest4
- 注意事项: 1>在进行DFT时,强烈建议选用64*64的图像,选用256*256的图像,**时间太长,中间可能导致死机**。 2>程序中在显示频谱图像时有两种方式,即移至中心和未移至中心,可以通过将/** pow(-1, x+y)*/的注释去掉来进行转换。 由于本程序使用了VFW组件,所以在Project--Setting中--Object/libray modules中添加vfw32.lib。 -Note : 1
05041062
- 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用. 2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2) 3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数. 4泊松分布-1. 20 (0-1) random number distribution methods : i
pow_user.rar
- 这是C++语言中pow函数的源代码,通过学习此代码,可以了解C语言中是如何实现指数运算的。,pow function for C/C++
LD_power
- 有关数字激光功率设计的几篇文章,对于设计数字式激光功率计非常有用-The digital laser power design articles, digital laser power for the design of very useful
powprecise
- 计算 pow (m,n) 的精确值。 C语言环境-precise calculation of pow(m,n) using C
ComplexFunction
- 本程序包括大部份复数处理函数:abs()、arg()、conj()、sin()、cos()、sinh()、cosh()、exp()、log()、log10()、norm()、polar()、pow()、sqrt()等。-look it yourself.
Prime_Numbers
- Threw history,prime numbers has always be a great fascination for mathematicians. Even in modern times,primes numbers continues to fascinate many people.Probably the main reason why prime numbers continues to create such great interest would be beca
05
- 一个基于MFC的简单的屏幕截图工具,其中实现了热键截取-DWORD size=bitmap.bmWidthBytes*bitmap.bmHeight //图片数据大小 LPSTR lpData=(LPSTR)GlobalAlloc(GPTR,size) int panelsize = 0 //记录调色板大小 if(bitmap.bmBitsPixel<16) //判断是否为真彩色位图 panelsize =(int)pow(2
Summary-of-Tracking-the-Largest
- 基于风能的充分利用, 从分析风力机运行特性出发, 针对变速恒频风力发电系统的特点, 综述了捕获最 大风能的方法,-Based on the full use o f wind ener gy , the operating char act eristics of the w ind turbine and the character istics of v ariable speed co nstant frequency( VSCF) w ind pow er g ener at i
elect_v
- electronic money mod pow
elections_v1
- electronic money mod pow ver2
attach_20120629133131
- 捕获数学函数异常 假如我们要用一个数学函数,比如反正弦函数asin(x),如果变元x的值是由用户提供或某个中间结果,则在调用时必须判断其取值范围是合理,是否满|x|<=1?即 view sourceprint? 1.if(fabs(x)<=1) 2. y=asin(x) 3.else 4. y=… 对数函数也可作类似的处理。但是如果遇到幂函数pow(x,y)时,问题就不那么简单了。仔细分析将发现: y x 负小数
PowModFast
- Pow Mod fast and mul fast
Counter
- 表达式计算器,包括集合操作。可通过的样例输入: 11.1 + 22.2 、 ln2 或 ln(2) 、 pow(2,4) 、 2*(1+31/3.1) 、 2 + sum([sin30,3+4,6,sum([sum([sum([1,2,3]),2,3]),2,3])]) +4*3-Expression calculator, includes a set of operations. Sample input can be adopted: 11.1+ 22.2 、 ln2 或 ln
yemonatiatebytebody
- 能运算的函数: sin,cos,tg,ctg,e^,pow(x,y),cosh,sinh,tgh,log10,ln,sq,-Can operation functions: sine, cosine, tg, CTG, e ^, pow (x, y), sinh, cosh, TGH, log10, ln, sq,
POW
- C++代码 实现proof of work 模拟-Python3 u4EE3 u7801 u5B9E u73B0proof of work u6A21 u62DF
3-7
- /*【问题描述】 输入一个正整数n,生成一张3的乘方表,输出30 ~3n的值,可调用幂函数计算3的乘方? 【输入输出样例1】(下划线部分表示输入) Enter n: 3 pow(3,0)=1 pow(3,1)=3 pow(3,2)=9 pow(3,3)=27 【样例说明】 输入提示符后要加一个空格。其中“:”后要加一个且只能一个空格。 输出语句的“=”两边无空格。 英文字母区分大小写。必须严格按样例输入输出。*/(Enter n: 3 pow(3,0)=1 pow(
c语言练习题
- Exercise 5: ‘for’ and ‘do … while” repetition statements 1. Write a program which uses a do/while loop to print out the first 10 powers of 2 other than 0 (ie. it prints out the values of 21, 22, ..., 210). Use a for loop to do the same. 注意 po