-
这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当
这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当n>2时, f(n) = f(n-1) + f(n-2)。源代码种给出了三种计算方法。第一种方法用递归,第二种方法用大数组,第三种方法用小数组。此外,这个程序还具备多线程特性,所以在运算时可以做其它操作。代码用到了以前创建的Win32类。测试为发现bug和内存溢出。--Calculate Fibonacci value.
- 2023-06-06 19:10:03下载
- 积分:1
-
牛顿插值
#include#include"String.h"#include#define ROW 6void read(float x[],float y[])//文件读取方便测试{ FILE *fp=fopen("num.txt","r"); rewind(fp); for(int i=0;i
- 2022-10-06 17:00:02下载
- 积分:1
-
八皇后问题的解法,非常好,请大家看一下,谢谢了
八皇后问题的解法,非常好,请大家看一下,谢谢了-8 Queen" s problem solution, very good, please look at, I would like to thank the
- 2022-01-28 01:59:41下载
- 积分:1
-
地震波有限差分正演
地球物理勘探中,基础的地震波正演模拟程序,包括五个正演程序,(高阶中心差分,高阶交错网格差分,使用标准的PML边界的正演程序)在acou文件夹下附有运行的结果。
- 2022-09-04 08:15:02下载
- 积分:1
-
The GNU MP Bignum Library,非常好用的大数运算库,GMP is a free library for arbitrary precisi...
The GNU MP Bignum Library,非常好用的大数运算库,GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers.
-The GNU MP Bignum Library, very easy to use large numbers of computing library, GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers.
- 2022-03-22 20:47:19下载
- 积分:1
-
c4.5算法
关于数据挖掘中决策树经典算法的C4.5算法,此算法适用于任何的符合结构的决策问题,此算法用C语言写,里面涉及了C语言的高级用法,对C要精通,才能轻松应对相关代码。代码里也做了较详细的代码注释,方便阅读者使用查看。
- 2022-02-01 01:33:12下载
- 积分:1
-
DFT nature of the research, the pros and transform calculation, the real and ima...
DFT性质的研究,正反变换的计算关系,实虚部的对应关系-DFT nature of the research, the pros and transform calculation, the real and imaginary parts of the correspondence between
- 2022-08-07 11:58:54下载
- 积分:1
-
ANSYS
关于 ansys 的一些实例源程序,希望对大家有用-ansys
- 2022-11-23 02:35:03下载
- 积分:1
-
Learnin Mathematics with the ABACUS Activity
Learnin Mathematics with the ABACUS Activity-book
part4
- 2022-03-04 08:31:40下载
- 积分:1
-
数值算法
涵盖各种数值算法:
常用C++数值算法源代码,非常经典!
二分法
最小二乘法
牛顿跌代法
雅克比迭代法
复化辛卜生公式.cpp
改进欧拉法.cpp
高斯-赛德尔迭代法.cpp
拉格郎日插值多项式.cpp
列主元高斯消去法.cpp
龙贝格算法.cpp
龙格-库塔算法.cpp
幂法.cpp
牛顿值多项式.cpp
四阶阿当姆斯预测-校正公式.cpp
自适应梯形公式(变步长).cpp
等等。特赞
- 2022-08-13 16:58:16下载
- 积分:1