-
recursion
说明: 递归,是函数实现的一个很重要的环节,很多程序中都或多或少的使用了递归函数。递归的意思就是函数自己调用自己本身,或者在自己函数调用的下级函数中调用自己。
递归之所以能实现,是因为函数的每个执行过程都在栈中有自己的形参和局部变量的拷贝,这些拷贝和函数的其他执行过程毫不相干。这种机制是当代大多数程序设计语言实现子程序结构的基础,是使得递归成为可能。(Recursion, is a function to achieve a very important part of many programs are more or less use the recursive function. Recursive mean that the function of its own call to themselves or subordinates in their own function calls a function to call their own. Recursion that can be achieved because the function of each execution in the stack has its own shape parameters and local variables of the copy, the copy and the implementation process has nothing to do other functions. This mechanism is the most modern programming language implementation subroutine structure of the foundation is to make recursion possible.)
- 2009-08-30 16:26:06下载
- 积分:1
-
Harris
提取Harris角点程序,非常好用的角点提取程序(Harris corner extraction program, very easy to use corner detection process)
- 2011-05-04 20:14:58下载
- 积分:1
-
Sequence
1234...n顺序进栈,计算出栈的可能序列并输出(Stack input in the sequence of 1234...n,compute the possible sequences of output
)
- 2014-11-18 13:57:33下载
- 积分:1
-
dbscan
数据挖掘,聚类分析,DBSCAN C++的实现,(Data mining, clustering analysis, DBSCAN C++ Realization)
- 2007-12-26 14:53:12下载
- 积分:1
-
Archive
4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为:
realpart+imaginarypart*i
用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。
(1)两个复数相加;
(2)两个复数相减
(3)用(a, b)的形式打印复数,其中a为实部,b为虚部。
(4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)
- 2013-12-18 15:14:46下载
- 积分:1
-
very-simple-volume-rendering_puc
Very Simple Volume Rendering
- 2014-11-24 17:52:41下载
- 积分:1
-
SwimmingPool2
Animation of swimming pool
- 2006-10-19 04:03:53下载
- 积分:1
-
Long
使用VarPtr来取得变量的内存地址
使用CopyMemory取得指定地址的内容(Use CopyMemory obtain the content of the specified address)
- 2014-09-01 11:54:58下载
- 积分:1
-
CharCuted
字符分割MATLAB源代码。你懂得。字符分割MATLAB源代码。你懂得。字符分割MATLAB源代码。你懂得。(fdsfsfasfasdfsdfsdfdfs)
- 2010-12-04 17:13:11下载
- 积分:1
-
Software-radio-GSM
在MATLAB下的一个对基带信号的采样变频至中频。GSM基站的接收频段为890~915 MHz。(A baseband signal sampling frequency to frequency under MATLAB. Receiving frequency band GSM base station is 890 ~ 915 MHz.)
- 2015-04-07 20:46:31下载
- 积分:1