登录
首页 » 算法 » 使用希尔排序法对一维数组排序

使用希尔排序法对一维数组排序

于 2022-03-19 发布 文件大小:48.26 kB
0 212
下载积分: 2 下载次数: 1

代码说明:

希尔排序(Shell Sort)是插入排序的一种。是针对直接插入排序算法的改进。该方法又称缩小增量排序,因DL.Shell于1959年提出而得名。本实例演示如何使用希尔排序法对一维数组进行排序

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

发表评论

0 个回复

  • 稀疏矩阵运算器进行矩阵的加减乘法,在进行乘法时用到行逻辑。...
    稀疏矩阵运算器进行矩阵的加减乘法,在进行乘法时用到行逻辑。-Sparse Matrix Arithmetic Unit for matrix multiplication, addition and subtraction, multiplication, when used during logic lines.
    2023-03-06 19:20:02下载
    积分:1
  • FFT(快速傅立叶变换)的算法实现
    FFT(快速傅立叶变换)的算法实现-FFT (Fast Fourier Transform) algorithm
    2022-04-09 02:58:48下载
    积分:1
  • 搜索算法,可以直接使用~~~
    二分查找(Binary Search) 二分查找又称折半查找,它是一种效率较高的查找方法。 二分查找要求:线性表是有序表,即表中结点按关键字有序,并且要用向量作为表的存储结构。不妨设有序表是递增有序的。
    2022-06-15 14:57:32下载
    积分:1
  • 任意合数分解成质数的程序
    任意合数分解成质数的程序-Arbitrary composite number into prime number of procedures
    2022-09-10 21:15:03下载
    积分:1
  • classical mathematical problem
    经典的数学问题――百鸡问题的VC源码。-classical mathematical problem-- the 100 chicken VC source.
    2022-04-12 21:59:53下载
    积分:1
  • 功能:返回双精度参数的反全余弦的三角函数值 返回返回双精度参数y和x的数值由公式y/x计算的反正切三角函数值...
    功能:返回双精度参数的反全余弦的三角函数值 返回返回双精度参数y和x的数值由公式y/x计算的反正切三角函数值-function : to return to double-precision parameters of the whole anti-cosine value of the trigonometric function to return to double-precision parameters x and y values from the formula y/x calculating the arc tangent trigonometry value
    2022-02-07 09:17:04下载
    积分:1
  • digital watermarking technology procedures set with a full
    数字水印技术处理程序集合,具有功能全,卡发好-digital watermarking technology procedures set with a full-featured, a good card
    2022-05-10 13:17:29下载
    积分:1
  • 基于AVR的DS18B20函数设计,利用LCD模块显示温度变化,精度高,反应迅速。...
    基于AVR的DS18B20函数设计,利用LCD模块显示温度变化,精度高,反应迅速。-AVR-DS18B20 function design based on the use of LCD modules show that the temperature changes, high precision and rapid response.
    2022-06-26 23:10:44下载
    积分:1
  • 这个程序会问你想找到多少个数字,然后是它的平均值…
    This program will ask how many numbers you want to find the average of, then it will allow you to enter your numbers(yes they can even be decimals) then it will calculate the mean, median, mode and range of what you enter.
    2022-04-25 08:24:48下载
    积分:1
  • 1, one dollar three regression equations CubicMultinomialRegress.cs equation mod...
    一、 一元三次回归方程 CubicMultinomialRegress.cs 方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。 以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。 public override double forecast(double x) 预测函数,根据模型得到预测结果 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。 -1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the dat
    2022-01-26 07:28:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载