-
C# Linq 动态查询条件 的 两种实现方式 (PredicateExtensions 和 Dynamic)
优选方案是:PredicateExtensions 很方便,很强大 调用示例:public static void Test3() { DbDataContext db = new DbDataContext(); Expression expressleft = PredicateExtensions.True(); expressleft = expressleft.Or(t => t.CategoriesID > 3); Expression expressright = PredicateExtensions.False(); expressright = expressright.Or(t => t.CategoriesID < 5); expressleft = expressleft.And(expressright); var sql = db.GetCommand(db.TemplateDocument.Where(expressleft).Select(t => new { t.TemplateID, t.TemplateName, t.CategoriesID })).CommandText; Console.WriteLine(sql); }
- 2013-11-16下载
- 积分:1
-
stkQt
Qt与STK结合的例子,在Qt编写的程序中嵌入STK,实现STK中对象的查看和操作。开发环境:Qt4.5.0,vs2005(Qt based on STK and example, embedded in programs written in Qt STK, realizes the STK objects in view and operation.)
- 2021-02-18 20:09:44下载
- 积分:1
-
ren-gong-zhi-neng
用c语言编的几个人工智能程序,包括蚁群算法,k最近邻, hebb学习, Hopfield 网络, 后向传播网络。(Artificial intelligence inside the c program, ant colony algorithm and k nearest neighbor, hebb study, the Hopfield network, back propagation network.)
- 2012-03-03 16:46:33下载
- 积分:1
-
FPC1020+ 51Demo
说明: 关于fpc1020的51单片机Demo,可下载直接使用(Demo of 51 Single Chip Microcomputer on fpc1020)
- 2019-01-09 14:49:23下载
- 积分:1
-
msp430x14x
单片机msp430控制蜂鸣器的声音,通过编写代码用msp430x14x开发版来编写控制程序蜂鸣器报警实验
(Msp430 microcontroller control the buzzer sound, by writing code with msp430x14x Developer Edition to write a control program buzzer alarm test)
- 2016-04-13 17:36:23下载
- 积分:1
-
心电信号检测与分类算法的研究
说明: (1)心电信号预处理
心电信号是一种低频且含有众多噪声干扰的信号。针对心电信号存在的
噪声干扰问题,本文采用了平稳小波变换结合双变量阈值的方法对其进行去 噪处理。通过对心电信号进行八层平稳小波变换,得到不同的小波系数,采
用双变量阈值函数表达式对其进行处理得到新的小波系数,最后进行逆平稳
小波变换实现小波重构,完成心电信号去噪。Matlab 仿真结果显示,本文算
法的准确率较高,信噪比达到 84.5934dB。 (2)心电信号波形识别
反映心电信号的特征部分往往是信号的突变点,因此需要对心电信号的
突变点进行识别检测。本文通过采用二次 B 样条小波对去噪后的心电信号
进行四层平稳小波变换,在第四尺度上对心电信号的 R 波进行波形检测。 在第二尺度上以正确检测 R 波为基础,实现 Q 波和 S 波的波峰、起始点及
终止点检测。为了保证检测精度,本文设置了误检漏检机制。最后在第五尺 度实现了 P 波和 T 波波峰、起始点及终止点检测。仿真结果表明本文的算
法检测精度较高,准确率达到 99.81%。(This paper proposes an efficient method of ECG signal denoising using the adaptive dualthreshold filter (ADTF) and the discrete wavelet transform (DWT). The aim of this method isto bring together the advantages ofthese methods in order to improve the filtering ofthe ECGsignal. The aim of the proposed method is to deal with the EMG noises, the power lineinterferences and the high frequency noises that could perturb the ECG signal. This algorithm is based on three steps of denoising,)
- 2020-03-06 12:37:15下载
- 积分:1
-
opencv颜色识别的代码
opencv颜色识别的代码,翻墙下的,可以拿来参考一下!
- 2022-08-02 11:54:19下载
- 积分:1
-
如何处理货币
在最近的一个项目中,我需要处理不同的货币。为了配合这一要求,我开发了一种不同的货币处理机制,我想与大家分享。
- 2023-04-12 09:00:04下载
- 积分:1
-
二级指针用法
二级指针做函数输入的三种内存模型。通过形参改变实参的值必须经过地址传递。(The third memory model in which the secondary pointer acts as function input. Changing the value of an argument by a parameter must be passed through the address.)
- 2020-06-18 08:20:02下载
- 积分:1
-
project1
时钟跑时,利用定时器和中断程序使1602液晶屏显示时间的跑时功能(When the clock running, the program makes use of a timer and interrupt the LCD screen displays the time in 1602 when the function to run)
- 2014-04-22 21:08:22下载
- 积分:1