通过精心挑选划分元素v,可以得到一个最坏情况时间复杂度为O(n)的选择算法。本次实习要求用c语言将此算法实现。要求实现此功能:输入一组数,返回A[i],使其为A(m:p)中第k小的元素,k是一个全局变量,取大于1的整数
上传时间: 2015-06-02
上传用户:zmy123
网上售书系统v-1 SQL数据库 ASP.NET开发环境
上传时间: 2013-12-13
上传用户:litianchu
Frequency Scale Conversion From f To f Scale frq2mel mel2frq mel The mel scale is based on the human perception of sinewave pitch. frq2erb erb2frq erb The erb scale is based on the equivalent rectangular bandwidths of the human ear. frq2midi midi2frq midi The midi standard specifies a numbering of semitones with middle C being 60. They can use the normal equal tempered scale or else the pythagorean scale of just intonation. They will in addition output note names in a character format.
标签: Scale Conversion Frequency mel
上传时间: 2015-06-07
上传用户:
目前能实现随意控制蚂蚁的轨迹长度(Path)、数量(Unit)、速度(V)、角度(R)、加速度(dv,dr)。 Kr和Kv是常数,打算将来改成数组,作为用来控制蚂蚁活跃程度的基因。
上传时间: 2013-12-27
上传用户:225588
/*用单纯形算法求解多元函数极值计算机程序代码*/ /************************ *试用单纯形法求目标函数: *f(x)= 4(x1 -5)*(x1 -5) + (x2 -6)*(x1 -5) *的极小值 *************************/
上传时间: 2015-06-08
上传用户:李梦晗
RPC DCOM WORM v 2.2 -病毒源码
上传时间: 2015-06-08
上传用户:moerwang
这是一个求 f(x)=x*sin(10PI*x)+2.0 的遗传算法程序
上传时间: 2013-12-17
上传用户:dbs012280
PIC18F4431实现交流感应电机的控制。程序中讨论了几种方案,开环V/F,V/F加上电流反馈,然后再加上速度反馈。
上传时间: 2013-12-21
上传用户:1427796291
程序为D12的USB测试程序 main.c为主程序 D12.c为PDIUSBD12芯片操作子程序 usb,c为usb协议部分 isr.c为中断处理程序 包括定时器中断(没用)/INT0中断(单片机INT0脚与PDIUSBD12中断脚相连) hard.c为硬件底层程序,读写端口 mydev.c为我的设备请求程序
上传时间: 2013-12-21
上传用户:坏坏的华仔
JspShop网络购物系统v 1.0 开发语言:jsp+access(不支持resin服务器)
上传时间: 2014-01-23
上传用户:shinesyh