码迷,mamicode.com
首页 >  
搜索关键字:fir    ( 3219个结果
归并排序 分治+递归
0 1 2 3 4 5 6 7 8 //下标 { 9 , 4 , 3 , 7 , 3 , 8 , 2 , 4 , 8 }//通过mergesort函数递归 来切 开始的时候fir=0, las=8, mid=4 所以下标0-4,分为前组 5-8分为后组 { 9 , 4 , 3 , 7 , 3 }{ 8 , 2 , 4 , 8 } { 9 , 4 , 3 }{...
分类:其他好文   时间:2014-08-13 19:00:47    阅读次数:160
C++函数默认参数(转)
在代码中使用到了函数的默认参数,在函数的定义和实现中都填写的默认参数,结果出现了错误:代码: 1 #ifndef FIRSTPAGE_H 2 #define FIRSTPAGE_H 3 4 #include 5 #include "ui_firstdialog.h" 6 7 class Fir...
分类:编程语言   时间:2014-08-08 15:58:36    阅读次数:343
FIR on Hadoop using hadoop-streaming
Prepare Hadoop Streaming Hadoop streaming allows you to create and run Map/Reduce jobs with any executable or script as the mapper and/or the reducer....
分类:其他好文   时间:2014-08-05 13:47:29    阅读次数:426
自适应滤波
应用: ① ② ③ 公式: 自适应滤波器中最重要的一个环节就是其系数的更新算法,如果不对自适应滤波器的系数更新的话,那么它就只是一个普通的FIR滤波器了。系数更新算法有很多种类,最基本、常用、简单的一种方法叫做NLMS(归一化最小均方),让我们先来看看它的数学公式表达: 设置自适应滤波器系数h的所有...
分类:其他好文   时间:2014-08-02 17:53:13    阅读次数:309
网络最大流增广路模板(EK & Dinic)
EK算法: int fir[maxn]; int u[maxm],v[maxm],cap[maxm],flow[maxm],nex[maxm]; int e_max; int p[maxn],q[maxn],d[maxn]; void add_edge(int _u,int _v,int _w) { int e; e=e_max++; u[e]=_u;v[e]=_v;c...
分类:其他好文   时间:2014-07-29 14:20:08    阅读次数:232
杭电 2037
考察的是结构体的二次快排   #include #include typedef struct Node{  int fir;  int end; }Node; Node node[110]; int cmp(const void *a,const void *b) {  return (*(node *)a).end>(*(node *)b).end?1:-1; } i...
分类:其他好文   时间:2014-07-28 16:15:23    阅读次数:218
爪哇国新游记之十六----泛型单链表类
/** * 单链表节点类 * @param */class Node{ protected T value; protected Node next;}/** * 单链表类 * @param */public class ChainList{ private Node fir...
分类:其他好文   时间:2014-07-25 14:16:21    阅读次数:253
[leetcode]Merge Two Sorted Lists
Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the fir...
分类:其他好文   时间:2014-07-22 22:51:35    阅读次数:146
FPGA 设计如何进行面积优化(逻辑资源占用量优化)
FPGA面积优化 1 对于速度要求不是很高的情况下,我们可以把流水线设计成迭代的形式,从而重复利用FPGA功能相同的资源。 2 对于控制逻辑小于共享逻辑时,控制逻辑资源可以用来复用,例如FIR滤波器的实现过程中,乘法器是一个共享的资源,我们可以通过控制资源实现状态机,从而复用乘法器,当然这样也牺牲了面积。 3 对于具有类似计数单元的模块,可以采用全局的计数器,以减小面积。例如...
分类:其他好文   时间:2014-07-17 20:37:46    阅读次数:329
ACdream群赛1112(Alice and Bob)
题意:http://acdream.info/problem?pid=1112Problem DescriptionHere is Alice and Bob again !Alice and Bob are playing a game. There are several numbers.Fir...
分类:其他好文   时间:2014-07-14 23:51:56    阅读次数:425
3219条   上一页 1 ... 318 319 320 321 322 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!