搜索资源列表
work_0702281019_01
- MATLAB source code: This function implements the *(int*)(&float_var).-MATLAB source code : This function implements the * (int *) (
SGALABbugfix
- 多目标遗传算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs VEGA NSGA NPGA MOGA 2) More TSP mutation and Crossover methods PMX OX CX EAX Boolmatrix 3) More selection methods
5
- 一道程序编译顺序的考题,涉及到函数调用的先后顺序及运算符号的优先级等问题。下面我展开给你讲。 C的程序编译总是从main函数开始的,这道题的重点在“fun((int)fun(a+c,b),a-c)) ”语句。 系统首先要确定最外层 fun()函数的实参,第一个参数的确定需要递归调用fun()函数(不妨称其为内层函数)。内层函数的两个参数分别为x=a+b=2+8=10、y=b=5,执行函数体x+y=10+5=15,于是得外层函数的参数x=15。其另一个参数y=a-c=2-b=-6,再次
PF_HIT
- 计算电力系统潮流的软件.在一定误差允许范围内也可以计算配网潮流-struct Load { int Node_No int Flag double ABC[6] }LLoad[LOADMAX]
cMqOUldV
- 电力系统潮流计算软件.可以计算配电网和主网的潮流.-void Node_Sequen(int*pNum_Node, int*pNum_Line, int*pNum_Gen, int*pNum_Load, int*pNum_Swing, int*pNum_GPV, int*pNum_GPQ)
Hausdorf_Matching
- Line Based Recognition using a Multidimensional Hausdorff Distance _______ DEscr iptION _______ Matching the image with its rotated and scaled version using 4 dimensional hausdorff measure. ___REFERENCE___ Paper 1: Line Based Recog
TotalMemory
- 用来测试手机待机情况下所能使用的最大内存量,普通用函数调用得到的剩于内存是错误的,这个通过用INT占用内存来获得可以使用的内存真正空间大小-Used to test mobile phone standby cases the maximum amount of memory can be used by the general use function calls get left in the memory is wrong, it occupied by the memory by usi
fenzhi
- #include <iostream.h> int main() { int i(0),sum(0) while (i<=100) { sum=sum+i ++i }cout<<"sum="<<sum<<endl return 0; } -#include <iostream.h> int main() { int i(0),sum(0)
Lave1
- #include <iostream> #include <stdlib.h> #include <string.h> using namespace std const kl = 4, kzs = 2, m = 6, n = 4, Error = 5 char *K[kl] = {{"01"},{"bB"},{"23456789ACDEFacdef"},{"hH"}} int A[m][n] = {{1,2,2
Laba_0
- #include "comparer.h" #include <iostream> using namespace std int Comparer::compareByName(Student& s1,Student& s2) { return strcmp(s1.m_szName,s2.m_szName) } int Comparer::compareBySurname(Student& s1,Student& s2) { ret
www.AllSubs.org_love-me-not-2006-int-momo-cd-2-1_
- Frequency Shift Keying--> Digital modulation scheme
trans
- .把十进制整数转换为2至9之间的任一进制数输出。(利用堆栈) 提示:void transform(long num,int r) //把一个长整型数num转换为一个r进制数输出。 转换方法是逐次除基数r取余法。输出时需要反向输出得到的余数,因此需要用到堆栈。-. To convert a decimal integer between 2 to 9 for a hexadecimal number of any output. (Using stack) Tip: void tran
convertcharint
- convert from char to int
lab_3
- 1.分别编写四个同名函数max1,实现函数重载,在main()函数中测试函数的功能 2.使用函数模板实现求任意类型数的最大值,针对不同的参数个数,编写两个同名函数模板max1,其参数个数不同,实现函数重载,在main()函数中测试函数功能 3.编写递归函数int fib(int n),在主程序中输入n的值,调用fib函数计算Fibonacci级数。公式为fib(n-1)+fib(n-2),n>2 fib(1)=fib(2)=1。使用if语句判断函数的出口,在程序中用cout语句中输
11
- /*定义一个基类Animal,有私有整型成员变量age,构造其派生类dog, 在其成员函数SetAge(int n)中直接给age赋值,看看会有什么问题, age改为公有成员变量,还会有问题吗?-/* Define a base class Animal, a private integer member variables age, derived class constructor of its dog, its member function SetAge (int n) dire
hsi2rgb
- 数据类型转换,int转换成uint8,比较适用-data change
DM642EDMA
- This program uses the timers to trigger EDMA events. These events in turn * trigger linked EDMA parameter tables to fill a ping pong buffer structure. * Set a breakpoint on swiProcessFunc(int arg). Then open two memory windows. * Use ping as
MATlab_diff_int
- 用MATLAB实现动态系统的求导与积分函数-MATLAB diff and int
SpectrumEstimationWelchMethod
- 基于Welch算法的经典功率谱估计的Matlab分析,从经典功率谱估计周期图法原理入手,借助Welch 算法对其进行修正-Matlab Simulation Analysis of Power Spectrum Estimation Based on Welch Method,int roduces the principles of Periodogram method of classical PSD estimation,and makes use of Welch to amend Pe
MyMC
- 蒙特卡罗方法的基本原理及思想如下: 当所要求解的问题是某种事件出现的概率,或者是某个随机变量的期望值时,它们可以通过某种“试验”的方法,得到这种事件出现的频率,或者这个随机变数的平均值,并用它们作为问题的解。- The principle of Monte Carlo method and it s application are int roduced.