一个用c语言写的图像插值算法,茶汁速度快-a language used to write the image interpolation algorithm, the tea fast 下载
|
图象插值旋转源码。可以任意角度旋转图象,运行速度较快。由于使用了插值算法,旋转失真非常小。适合于对图象旋转要求较高的场合。-rotating source. Can arbitrary rotation angle images, run faster. Due to the use of interpolation algorithm, is very small rotational distortion. Suitable for image rotation for higher occasions. 下载
|
一 :排序n个元素,元素为随机生成的长为1~16的字符串,n的取值为2k(k取4、6、8、10、12、16、18、20),排序算法分别为直接插入排序, 冒泡排序,堆排序,归并排序,快速排序,比较各种排序在不同输入下的运行时间. 二:排序n个元素,元素为随机生成的1~10000的正整数,n的取值为2k(k取4、6、8、10、12、16、18、20),排序算法分别为直接插入排序,快速排序,基数排序,计数排序,比较各种排序在不同输入下的运行时间. , 下载
|
排序算法的性能比较 对不同类型的问题规模,测试各种介绍的排序算法的性能。统计他们的键值比较次数,键值移动次数以及运行时间并分析结果。 小型问题:N≈20 中型问题:N≈2000 大型问题:N≈200000. C 语言的32关键字如下: 实验原理: 线性表的排序,快速,起泡,选择,插入。 -algorithm to compare the performance of different types of scale of the problem, introduced by the test algorithm performance. Statistical comparison of the number of keys, keys and mobile number of run-time analysis of the results. Small problem : N 20 medium-sized issues : N 2000 major issues : N 200,000. The 32 C-language keyword as follows : Experimental Principle : linear ranking table, fast, foaming, selection, insertion. 下载
|
书中共介绍了四类排序函数:插入排序、起泡排序、选择排序、快速排序。我们需要建立一个无序随机序列,分别用上述排序方法对建立的无序序列有序化,编写相应的程序计算每种算法的赋值次数、比较次数以及所用时间,以此为依据来判断各种算法的效率。-introduced a total of four ranking functions : insertion sort, bubble sort, select, in order of Quick Sort. We need to build a disorderly random sequence, the use of such methods of sequencing to establish an orderly sequence of the disorder, and the preparation of the corresponding procedures of each algorithm for the calculation of frequency assignment, as well as comparison with the number of time, using this as the basis to judge the efficiency of algorithms. 下载
|