登录
首页 » 算法 » 基于stein算法的GCD

基于stein算法的GCD

于 2022-03-07 发布 文件大小:2.17 kB
0 116
下载积分: 2 下载次数: 1

代码说明:

资源描述这是使用stein算法,实现的计算两个32位数的最大公约数的算法,在这里面使用了流水线来提高吞吐量,并且提高了工作速度,初次之外,还有两个串转并和并转串的模块,供大家参考

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

发表评论

0 个回复

  • 用C语言实现的GBN协议函数库和测试程序
    滑动窗口协议,也称为回退N步协议(Go-Back-N,GBN)中,允许发送方发送多个分组(当有多个分组可用时)而不需等待确认,但它受限于在流水线 中为未确认的分组数不能超过某个最大允许数N。滑动窗口协议是TCP使用的一种流量控制方法,此协议能够加速数据的传输。     只有在接收窗口向前滑动时(与此同时也发送了确认),发送窗口才有可能向前滑动。     收发两端的窗口按照以上规律不断地向前滑动,因此这种协议又称为滑动窗口协议。 当发送窗口和接收窗口的大小都等于1时,就是停止等待协议。 当发送窗口大于1,接收窗口等于1时,就是回退N步协议。 当发送窗口和接收窗口的大小均大于1时,就是选择重发协议。 协议中规定,对于窗口内未经确认的分组需要重传。这种分组的数量最多可以等于发送窗口的大小,即滑动窗口的大小n减去1(因为发送窗口不可能大于(n-1),起码接收窗口要大于等于1)。 2.工作原理
    2023-04-29 17:45:03下载
    积分:1
  • 此程序为线性代数方程组的求解源程序,里面包含多个有用的小程序,供大家参考!...
    此程序为线性代数方程组的求解源程序,里面包含多个有用的小程序,供大家参考!-This process of linear algebraic equations for solving the source, which contains a small number of useful procedures for your reference!
    2022-01-26 06:19:56下载
    积分:1
  • 双曲线回归方程 HyperbolaRegress.cs 注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错...
    双曲线回归方程 HyperbolaRegress.cs 注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。 方程模型为 public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 public override double computeR2() -Hyperbola regression equation HyperbolaRegress.cs attention! The model demands a and b value is greater than 0! Caution should be taken when using the model verify the conditions of this restriction. I realize the model error is not to join any flow control. X should not to 0. Equation model for public override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 ()
    2022-02-07 00:59:29下载
    积分:1
  • C #写三元线性回归方程,可以计出简单的线性关系。
    C#写的三元线性回归方程,可以计算简单的线性回归,第一次写,请包涵。-C# Written ternary linear regression equation, can calculate the simple linear regression, the first to write, please bear with me.
    2022-07-13 01:16:14下载
    积分:1
  • This is one of the Queen's algorithm of algorithms.
    这是一个关于算法中的皇后问题的算法。-This is one of the Queen"s algorithm of algorithms.
    2022-02-03 22:29:10下载
    积分:1
  • Numerical Solution of Ordinary Differential Equations Solution Runge_Kutta
    常微分方程数值解法Runge_Kutta解法-Numerical Solution of Ordinary Differential Equations Solution Runge_Kutta
    2023-06-04 13:25:03下载
    积分:1
  • windows小帮手,vc6.0开发的,有点小问题
    windows小帮手,vc6.0开发的,有点小问题-windows Assistant, vc6.0 developed a bit small problem
    2022-07-21 13:20:40下载
    积分:1
  • 将正整数分解为素数之积
    将正整数分解为素数之积- Decomposes the positive integer product of into the prime number
    2022-03-23 08:39:30下载
    积分:1
  • 俄罗斯方块(MFC)
    一个MFC实现的俄罗斯方块程序,操作简单,界面友好,可用作课程设计,实训等,简单易懂
    2023-05-27 09:35:03下载
    积分:1
  • 两个有序数序列中找第k小
    资源描述已知两个已经排好序(非减序)的序列X和Y,其中X的长度为m,Y长度为n, 现在请你用分治算法,找出X和Y的第k小的数,算法时间复杂度为O(max{logm, logn})。 此题请勿采用将序列X和Y合并找第k小的O(m+n)的一般方法,要充分利用X和Y已经排好序的这一特性。 输入格式 第一行有三个数,分别是长度m、长度n和k,中间空格相连(1
    2023-05-28 16:30:03下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载