首先放文献:
Paul G. Huray. "Surface Roughness", in The Foundations of Signal Integrity. John Wiley & Sons, Inc., Hoboken, New Jersey. 2009.
Paul G. Huray. "Impact of Copper Surface Texture on Loss: A model That Works", …
希尔排序是对于插入排序的一种优化
代码:
#include <stdio.h> #include <stdlib.h> void shell_sort(int* p, int len) { int i; int j; int step; int tmp; for (step len / 2; step > 0; step step / 2) { fo…