-
文件MD5 生产算法
char *MD5_file (char *path, int md5_len)
{
FILE *fp = fopen (path, "rb");
MD5_CTX mdContext;
int bytes;
unsigned char data[1024];
char *file_md5;
int i;
if (fp == NULL) {
fprintf (stderr, "fopen %s failed
", path);
return NULL;
}
MD5Init (&mdContext);
while ((bytes = fread (data, 1, 1024, fp)) != 0)
{
MD5Update (&mdContext, data, bytes);
}
MD5Final (&mdContext);
file_md5 = (char
- 2022-07-11 22:12:17下载
- 积分:1
-
first come first serve
first come first serve
- 2022-01-26 06:50:02下载
- 积分:1
-
逐次超松弛迭代法(逐次超松弛法,…
逐次超松驰迭代法(Successive Over Relaxation Me thod,简称SOR方法)是高斯―塞德尔方法的一种加速方法,是解大型稀疏矩阵方程组的有效方法之一,它具有计算公式简单,程序设计容易,占用计算机内存较少等优点,但需要较好的加速因子(即最佳松驰因子).下面我们首先说说松驰一词的含意,再利用它来解释雅可比迭代法与高斯―塞德尔迭代法,最后给出逐次超松驰迭代法的推算公式和收敛性条件.-Successive over relaxation iteration method (Successive Over Relaxation Me thod, called SOR method) is the Gauss- Seidel method for an accelerated method is solution of large sparse matrix equations, one effective method, it has a simple formula, programming easy, take up less computer memory, etc., but the need for better acceleration factor (that is, the best relaxation factor). Let us first talk about the meaning of the term relaxation, and then use it to explain the Jacobi s iterative method and the Gauss- Seidel iterative method, and finally gives successive over relaxation iterative method of projection formula and the convergence condition.
- 2022-03-31 14:51:19下载
- 积分:1
-
吉尔法求解一阶微分方程组的算法
吉尔法求解一阶微分方程组的算法-Gil Solving equations a band algorithm
- 2022-11-29 16:40:03下载
- 积分:1
-
混洗frag跳跃算法(SFLA)的Matlab实现源代码
在原优化算法的基础上,在MATLAB中编程实现了无序碎片跳跃算法(SFLA)。
- 2022-05-09 10:23:08下载
- 积分:1
-
快速排序算法,很好用,用c++编,拷贝在文本里,大家可以参考参考哦....
快速排序算法,很好用,用c++编,拷贝在文本里,大家可以参考参考哦.-quick sort algorithm is useful, with c writers, copy in the text, one can refer to Reference oh.
- 2022-04-26 15:23:24下载
- 积分:1
-
数值计算中的Doolittle分解法(含有紧凑方式的解法),是用VC++编写的...
数值计算中的Doolittle分解法(含有紧凑方式的解法),是用VC++编写的-numerical calculation of Doolittle decomposition (containing a compact form of solution), VC++ prepared
- 2022-02-16 09:39:00下载
- 积分:1
-
MIMIO雷达相位编码信号产生与匹配滤波、DBF、MTD
对于发射接收都为8个通道的MIMO雷达系统,在一定的背景下,目标距离5000米,运动速度100m/s,运用相位编码信号,仿真发射信号、接收信号,进行DBF处理,匹配滤波提取信息后,MTD处理
- 2022-03-07 05:39:53下载
- 积分:1
-
用labview编写的基于单纯形寻优算法。用来搜索高斯函数的极值点。...
用labview编写的基于单纯形寻优算法。用来搜索高斯函数的极值点。-prepared using PC-based simplex optimization algorithms. Search Gaussian function to the extreme point.
- 2022-03-06 19:38:31下载
- 积分:1
-
迪杰斯特拉最短路径算法
迪杰斯特拉最短路径算法-Floyd shortest path algorithm
- 2023-08-08 05:50:03下载
- 积分:1