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

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

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

代码说明:

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

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

发表评论

0 个回复

  • 关于LSB的水印技术
    这是一个关于LSB水印技术的算法  这是一个源文件的打包,通过这个算法人们就可以活用这个水印技术。
    2023-01-25 19:40:04下载
    积分:1
  • 梯度函数的逆。我已经提供了1个版本的工作
    The inverse of the gradient function. I ve provided versions that work on 1-d vectors, or 2-d or 3-d arrays. In the 1-d case I offer 5 different methods, from cumtrapz, and an integrated cubic spline, plus several finite difference methods. In higher dimensions, only a finite difference/linear algebra solution is provided, but it is fully vectorized and fully sparse in its approach. In 2-d and 3-d, if the gradients are inconsistent, then a least squares solution is generated
    2022-06-02 09:40:06下载
    积分:1
  • 人工智能归结反演
    这是人工智能当中的归结反演的算法实现代码
    2022-08-31 13:15:03下载
    积分:1
  • 改进的ica方
    自己写的代码,用改进的ica方法实现盲源分离,效果比传统的盲源分离要好很多,可以直接运行实现。
    2022-07-19 16:58:43下载
    积分:1
  • c++实现SVD
    一个C++实现的SVD程序,可用于数值分析或潜在语义索引,在矩阵分解完成后有对右奇异矩阵的列向量进行相似度计算。
    2022-03-03 16:57:58下载
    积分:1
  • 中缀表达求后缀表达式及其值
    中缀表达求后缀表达式及其值-expression for which there is a suffix expression and values
    2022-03-02 19:28:46下载
    积分:1
  • 逆波兰表达式求值
    是自己写的逆波兰表达式求值问题  通过栈和数组来存储数据完美实现了计算过程..
    2023-07-09 11:00:03下载
    积分:1
  • 一个关于数据挖掘的决策树
    一个关于数据挖掘的决策树算法-a data mining on the Decision Tree Algorithm
    2022-01-25 19:53:42下载
    积分:1
  • Using NLJ random search method to identify a method that the state of the nonlin...
    采用NLJ随机搜索的方法辨识一个以状态方法表示的非线性系统。选其初值 a1(0) =50 , a2(0) =100 , a3(0) =100 , a4(0) =50 , a5(0) =10 , 选范围为 r(1)(i)=0.5 a(0)(i) , 取数据长度 L =40, t =0.005 , 性能指标 J= 。迭代计算结果得 a 的估计值 1=17.6043243, 1=17.5977, 2=72.9573, 3=51.3014, 4=22.9889, 5=5.99965, J = 0.000000916 。-Using NLJ random search method to identify a method that the state of the nonlinear system. Election of its initial value a1 (0) = 50, a2 (0) = 100, a3 (0) = 100, a4 (0) = 50, a5 (0) = 10, choose the range of r (1) (i) = 0.5 a (0) (i), check data length L = 40, t = 0.005, performance index J =. Iterative calculation results have a estimated value of 1 = 17.6043243, 1 = 17.5977, 2 = 72.9573, 3 = 51.3014, 4 = 22.9889, 5 = 5.99965, J = 0.000000916.
    2022-02-01 23:07:23下载
    积分:1
  • operating system simulation process scheduling procedures to achieve vc
    操作系统进程调度模拟程序vc实现-operating system simulation process scheduling procedures to achieve vc
    2022-01-26 07:34:38下载
    积分:1
  • 696518资源总数
  • 105964会员总数
  • 17今日下载