声明一个基类Shape(点), 在此基础上派生出Rectangle(长方形)和Circle(圆),这三个类都有GetArea()函数计算对象的面积,构造函数,析构函数等有关函数。再使用Rectangle类创建一个派生类Square(正方形)。并设计创建各种类的对象,调用所有函数。设计函数f(Shape &a)能对不同对象的实参调用计算打印出对象的面积。
标签: Rectangle GetArea Circle Shape
上传时间: 2015-07-07
上传用户:netwolf
平均因子分解法,适用于正定矩阵First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X=U U, where U is the square root matrix of X, and satisfies: (1) U U = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is "positive definite" which guarantees the existence of such kind of decomposition.
标签: 分解
上传时间: 2013-12-24
上传用户:啊飒飒大师的
MODE_Switch1Processing multi-interrupt request needs to set the priority of these interrupt requests. The IRQ flags of the 7 interrupt are controlled by the interrupt event occurring. But the IRQ flag set doesn t mean the system to execute the interrupt vector. The IRQ flags can be triggered by the events without interrupt enable. Just only any the event occurs and the IRQ will be logic "1".
标签: multi-interrupt MODE_Switch Processing interrupt
上传时间: 2013-12-04
上传用户:zhichenglu
Chessboard Cover,On a chessboard,only one square is different, called specific.Use the Divide-and-Conquer methods to solve the Chessboard Cover Problem.
标签: Chessboard chessboard Cover On
上传时间: 2015-10-05
上传用户:zuozuo1215
A general technique for the recovery of signicant image features is presented. The technique is based on the mean shift algorithm, a simple nonparametric pro- cedure for estimating density gradients. Drawbacks of the current methods (including robust clustering) are avoided. Feature space of any nature can be processed, and as an example, color image segmentation is dis- cussed. The segmentation is completely autonomous, only its class is chosen by the user. Thus, the same program can produce a high quality edge image, or pro- vide, by extracting all the signicant colors, a prepro- cessor for content-based query systems. A 512 512 color image is analyzed in less than 10 seconds on a standard workstation. Gray level images are handled as color images having only the lightness coordinate
标签: technique presented features recovery
上传时间: 2015-10-14
上传用户:410805624
SOUNDSC(Y,...) is the same as SOUND(Y,...) except the data is scaled so that the sound is played as loud as possible without clipping. The mean of the data is removed.
上传时间: 2015-10-28
上传用户:WMC_geophy
Spikes can be taken as absolute quantities of measuring values which are large than approximately four (expressed as variable [Times_SD] in the program)times of the standard deviation of the time series, and can be removed by repeating 3 times with each time series. When a measuring value with the deviation from the mean larger than four times of the standard deviation, the variable can be taken as NO_VALUE, and the number of spikes is saved into the variable [SpikeNum]. If the variable [Times_SD] is taken as four, many records will be removed, so the variable [Times_SD] can be taken as larger, for example eight.
标签: approximately quantities measuring absolute
上传时间: 2015-11-09
上传用户:yangbo69
Yet another Java implementation for the addictive Minesweeper game. This game comes with a number of options unavailable in Windows s version, such as allowing more than one mines in a square.
标签: game implementation Minesweeper addictive
上传时间: 2014-01-06
上传用户:zhaiyanzhong
图像处理的关于Snakes : Active Contour Models算法和水平集以及GVF的几篇文章,文章列表为: [1]Snakes Active Contour Models.pdf [2]Multiscale Active Contours.pdf [3]Snakes, shapes, and gradient vector flow.pdf [4]Motion of level sets by mean curvature I.pdf [5]Spectral Stability of Local Deformations Spectral Stability of Local Deformations.pdf [6]An active contour model for object tracking using the previous contour.pdf [7]Volumetric Segmentation of Brain Images Using Parallel Genetic AlgorithmsI.pdf [8]Segmentation in echocardiographic sequences using shape-based snake model.pdf [9]Active Contours Without Edges.pdf 学习图像处理的人必看的几篇文章
标签: Contour Snakes Active Models
上传时间: 2014-01-15
上传用户:wqxstar
本程序实做MLP(Multi-layer perceptron)算法,使用者可以自行设定训练数据集与测试数据集,将训练数据集加载,在2、3维下可以显示其分布状态,并分别设定键节值、学习率、迭代次数来训练其类神经网络,最后可观看辨识率与RMSE(Root Mean squared error)来判别训练是否可以停止。
标签: Multi-layer perceptron MLP 程序
上传时间: 2013-12-24
上传用户:caozhizhi