登录
首页 » 算法 » 最大公约数的三种算法

最大公约数的三种算法

于 2022-01-25 发布 文件大小:210.95 kB
0 251
下载积分: 2 下载次数: 1

代码说明:

     该程序代码对应《算法设计与分析基础---第2版》中最开始的求取最大公约数的三种算法,第一种欧几里得算法,第二种是连续整数检测方法,第三种方法是分解质因数的方法,代码简单易懂,适于参考学习。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 很多人在说,但我没看到所以自己编了一个hough变换的函数
    很多人在说,但我没看到所以自己编了一个hough变换的函数-many people say, but I do not see why their part of a Hough transform function
    2023-04-21 23:05:03下载
    积分:1
  • 非线性系统的C
    非线性系统的C-C算法,程序运行良好,能为从事混沌方面研究的人员提供一定的便利.-Nonlinear Systems C-C algorithms, running good, to engage in research in the chaotic provide certain facilities.
    2023-04-09 18:15:03下载
    积分:1
  • Goertzel基本算法在每次采样后立即进行处理,在每个第N次采样进行一次音调检测。在采用FFT算法时,我们要对成块的采样进行处理,但这并不意味着必须按块来处理...
    Goertzel基本算法在每次采样后立即进行处理,在每个第N次采样进行一次音调检测。在采用FFT算法时,我们要对成块的采样进行处理,但这并不意味着必须按块来处理数据。数字处理的时间很短,因此如果每次采样都存在一次中断,那么这些数字处理完全可以在中断服务程序(ISR)内完成。或者,如果系统中存在采样缓存,那么可以持续采样,然后进行批处理。-Goertzel basic algorithms in each sample immediately after processing, in each of the first N sub-samples to conduct a tone detection. In the use of FFT algorithms, we would like to be processed into a block of samples, but this does not mean that must block processing the data. Digital processing time is very short, so if an interrupt for each sample are present, then the digital processing is fully able to interrupt service routine (ISR) to complete. Or, if the system exists in sample buffer, you can continue to sample, and then batch.
    2022-05-27 11:46:36下载
    积分:1
  • 维吉尼亚算法
    维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法维吉尼亚算法
    2022-09-13 14:50:03下载
    积分:1
  • Monte Carlo simulation
    Monte Carlo simulation
    2022-04-09 05:11:01下载
    积分:1
  • 用c++实现的矩阵运算类,包括了各种矩阵的运算
    用c++实现的矩阵运算类,包括了各种矩阵的运算-With c++ Realization matrix calculation categories, including a variety of matrix operations
    2022-03-25 07:07:16下载
    积分:1
  • BCH3121编解码实现
    BCH(31,21)编码 译码源程序。
    2022-08-06 15:44:55下载
    积分:1
  • BPSK调制的仿真
    bpsk modulation simulation
    2023-07-19 22:50:03下载
    积分:1
  • 非线性PCA
    资源描述非线性的主成因分析法,基于常用的PCA方法中改进的非线性PCA。内有详细程序,包括算法,绘图等。                                                                                                                                                                     
    2022-03-24 11:34:02下载
    积分:1
  • 输入三角形的三点坐标,计算三角形面积,周长
    输入三角形的三点坐标,计算三角形面积,周长-Enter the three coordinates of the triangle to calculate the triangle area, perimeter
    2022-08-25 19:47:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载