-
蒙特卡罗算法解集合相等问题
«问题描述:给定2 个集合S和T,试设计一个判定S和T是否相等的蒙特卡罗算法。«编程任务:设计一个算法,对于给定的集合S和T,判定其是否相等。«数据输入:由文件input.txt 给出输入数据。第一行有1 个正整数n,表示集合的大小。接下来的2行,每行有n个正整数,分别表示集合S和T中的元素。«结果输出:将计算结论输出到文件output.txt。集合S和T相等则输出YES,否则输出NO。输入文件示例 输出文件示例input.txt output.txt3 YES2 3 77 2 3
- 2022-02-14 21:38:35下载
- 积分:1
-
ALU 电子设计
您好组,我研究设计了ALU。这种ALU有块,模块,算法。 ALU是EXCUTE+, - ,x,:ALU....语言使用C ++。我认为这要紧的计算机系统。此外,ALU单元的背景为所有的系统进步。我希望这个ALU对大家都有利。ALU也需要IC设计产业。最好的问候
- 2022-05-05 04:40:28下载
- 积分:1
-
MATLAB 神经网络和遗传算法联用
matlab30个神经网络应用案例的源代码,一本很好的matlab神经网络书籍,贴近实际,该代码是书中案例的源代码,为神经网络和遗传算法的的标准算法。
- 2022-10-29 07:25:03下载
- 积分:1
-
遗传优化算法
此算法是 遗传优化算法 对于学习智能优化算法很有帮助,同时对于基本的遗传算法的使用有一定的指导作用,希望对大家有用,
- 2022-05-30 18:10:24下载
- 积分:1
-
角点标记
应用背景在图像处理方面,特别是涉及到形状姿态等识别的时候,需要对角点进行标记,该算法是对二值化的图形进行角点标记演示,在机器视觉方面有相当的用处。关键技术使用二值化的图形快速角点标记,使用形态学做图形处理,计算量很小,在图形识别方面有很大的用处。
- 2022-10-17 05:45:03下载
- 积分:1
-
k-means 算法的工作过程说明如下:首先从n个数据对象任意选择 k 个对象作为初始聚类中心;而对于所剩下其它对象,则根据它们与这些聚类中心的相似度(距离),分别将它们分配给与其最相似的(聚类中心所代表的)聚类;然后再计算每个所获新聚类的聚类中心(该聚类中所有对象的均值);不断重复这一过程直到标准测度函数开始收敛为止。-k-means algorithm process as follows: First of all, the object data from the n choose k object as initial cluster centers and the remaining for the other object, then according to their cluster center with those of the similarity (distance) respectively assigned to them with the most similar (represented by cluster center) clustering obtained and then calculated for each new cluster center clustering (all objects in the cluster mean) repeated this process until the standard measure of function until the beginning of convergence.
- 2023-07-14 07:15:02下载
- 积分:1
-
matrix eigenvalue of the largest power France. For engineering calculation, Matr...
矩阵的最大特征值的幂法.
对于工程计算而言,矩阵的特征值和特征向量都是相当重要和常见的数据,这里给出的幂法是一种常见的求解方法,用的是迭代的思想。
符号说明:
1A为待求的矩阵,
2Uk,Vk为迭代用的列向量。
3最后的最大特征值maxLamda由最后一次的max(Uk)-----求Uk中的绝对值最大的元素的绝对值.所决定。
而maxLamda所对应的特征向量由最后一次迭代的Vk所决定.
主要的想法就是先选一个不为0的初始向量U0!=0,然后按下面的式子迭代。
-matrix eigenvalue of the largest power France. For engineering calculation, Matrix eigenvalues and eigenvectors are very important and common data, here is the power law is a common solution, using the iterative thinking. Symbol : 1A of the question for the matrix, 2Uk, Vk iteration of the column vector. The final three largest eigenvalue maxLamda from last max (uk Hoffmann for the uk the largest absolute value of the absolute value of the element. by decision. While maxLamda corresponding eigenvectors from the last iteration of Vk decision. The main idea was first choice not one of the initial vector 0 U0! = 0, then by the following formula iteration.
- 2022-12-15 11:10:03下载
- 积分:1
-
Singular value to the calculation of the matlab code, then look for a long time....
能够对于奇异值的计算matlab代码,找了好久呢-Singular value to the calculation of the matlab code, then look for a long time. .
- 2022-02-15 01:44:43下载
- 积分:1
-
这是掌握计算机软件专业组合的一种数学…
这是硕士生计算机软件专业组合数学的一个字典算法演示,仅供参考。-This is the master computer software professional combination of a mathematical algorithm dictionary demonstration purposes only.
- 2023-07-29 18:05:04下载
- 积分:1
-
JPEG2000, C代码
The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000.
See the source for more information.
- 2023-04-20 21:00:04下载
- 积分:1