a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, Set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.
标签: non-sharing containers pointer vector
上传时间: 2015-06-15
上传用户:Late_Li
This program demonstrates some function approximation capabilities of a Radial Basis Function Network. The user supplies a Set of training points which represent some "sample" points for some arbitrary curve. Next, the user specifies the number of equally spaced gaussian centers and the variance for the network. Using the training samples, the weights multiplying each of the gaussian basis functions arecalculated using the pseudo-inverse (yielding the minimum least-squares solution). The resulting network is then used to approximate the function between the given "sample" points.
标签: approximation demonstrates capabilities Function
上传时间: 2014-01-01
上传用户:zjf3110
A series of .c and .m files which allow one to perform univariate and bivariate wavelet analysis of discrete time series. Noother wavelet package is necessary -- everything is contained in this archive. The C-code computes the DWT and maximal overlap DWT. MATLAB routines are then used to compute such quantities as the wavelet variance, covariance, correlation, cross-covariance and cross-correlation. Approximate confidence intervals are available for all quantities except the cross-covariance and cross-correlation. A Set of commands is provided. For a description of this example, please see http://www.eurandom.tue.nl/whitcher/software/.
标签: univariate and bivariate analysis
上传时间: 2015-06-23
上传用户:chongcongying
首先确认您的机器上已经安装了VC6.0以上版本,要编译生成可执行文件,需打开后缀名为dsw的文件,系统会默认用VC打开,然后选择Build菜单下的Set Active Configuration选项,选择Project Configuration为Win32 Release,然后编译项目,得到可执行文件。连接数据库请参照第2章的方法,在ODBC数据源内添加Microsoft Access数据库train.mdb,并将数据源名设定为train即可实现数据库和应用程序的正常连接,程序才能正常实现数据库的访问。另外,如果用户自己编写了.chm的帮助文档只要和可执行文件放在同一个目录下就可以了。 用户要修改程序源码可以选择相应的.h和.cpp文件,本实例使用的命名规则基本是:DIALOG_***** 为管理对话框资源, *****Info为数据输入窗口资源, *****Set为结果集对应的类
上传时间: 2013-11-29
上传用户:gyq
Simple I2C controller -- 1) No multimaster -- 2) No slave mode -- 3) No fifo s -- -- notes: -- Every command is acknowledged. Do not Set a new command before previous is acknowledged. -- Dout is available 1 clock cycle later as cmd_ack
标签: multimaster controller No Simple
上传时间: 2015-07-01
上传用户:zhangliming420
定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小,设计各种情况调用此三个重载操作符。
上传时间: 2013-12-26
上传用户:youth25
首先定义一个点类Point,其私有成员为其坐标X,Y。设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print。再定义一个线类Line,线类是在公有继承点类的基础上,新增私有成员斜率S,并设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print以及其它你认为对访问此Line类对象有用的成员函数。并用此Line类定义对象,调用所有成员函数。尤其是考察构造函数的调用顺序。
上传时间: 2015-07-07
上传用户:xfbs821
本书第二版和第三版之间的变化非常大其中最值得注意的是C++已经通过了国际标 准化这不但为语言增加了新的特性比如异常处理运行时刻类型识别RTTI 名字空 间内置布尔数据类型新的强制转换方式而且还大量修改并扩展了现有的特性比如模 板template 支持面向对象object-oriented 和基于对象object-based 程序设计所需 要的类class 机制嵌套类型以及重载函数的解析机制也许更重要的是一个覆盖面非 常广阔的库现在成了标准C++的一部分其中包括以前称为STL 标准模板库的内容新 的string 类型一组顺序和关联容器类型比如vector list map 和Set 以及在这些类型 上进行操作的一组可扩展的泛型算法generic algorithm 都是这个新标准库的特性本书 不但包括了许多新的资料而且还阐述了怎样在C++中进行程序设计的新的思考方法简而 言之实际上不但C++已经被重新创造本书第三版也是如此
上传时间: 2014-01-18
上传用户:784533221
对于给定的自然数n,编程计算半数集Set(n)中的元素个数
标签:
上传时间: 2014-01-15
上传用户:redmoons
AVL Tree implementation: I also included a test function to compare the AVL Tree performance with STL Set and Map. Compile the source mavltree.cpp and run it to see the result!
标签: Tree implementation performance AVL
上传时间: 2013-12-19
上传用户:3到15