-
迭代加深八数码
#include
#include
using namespace std;//变量声明
class EiNum;
#define MAX 20//MAX为最大的迭代深度
int depth;//当前树的最大深度
EiNum * root[MAX + 1];//重复当前的路径
//交换两个数
void Swap(int &a,int &b) {
int temp;
temp = a;
a = b;
b
- 2022-08-10 21:09:51下载
- 积分:1
-
fortran程序,迭代常微分方程求解器,包括源代码、使用说明。...
fortran程序,迭代常微分方程求解器,包括源代码、使用说明。-fortran program, iterative solver of ordinary differential equations, including source code, use the instructions.
- 2022-01-25 14:54:41下载
- 积分:1
-
顺序表链表
算法与数据结构试验中实验一:完成相关创建链表、排序、插入、 删除 等常见链表操作
- 2022-08-10 13:25:19下载
- 积分: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
-
快速排序算法,很好用,用c++编,拷贝在文本里,大家可以参考参考哦....
快速排序算法,很好用,用c++编,拷贝在文本里,大家可以参考参考哦.-quick sort algorithm is useful, with c writers, copy in the text, one can refer to Reference oh.
- 2022-04-26 15:23:24下载
- 积分:1
-
C、 人工智慧、 BFS 和 DFS
出差旅行推销员的问题,解决问题使用人工智能此代码
- 2022-08-25 16:42:27下载
- 积分:1
-
prepared by the steepest decline (equation solution), the attention to the matri...
用C编写的最速下降法(解方程),注意矩阵A是正定对称的-prepared by the steepest decline (equation solution), the attention to the matrix A is symmetric positive definite
- 2022-01-26 01:21:10下载
- 积分:1
-
用C解方程的第2种算法
用C解方程的第2种算法-C solution of the equation algorithms No. 2
- 2023-04-24 05:15:03下载
- 积分:1
-
实对称 三对角阵的全部特征值及相应的特征向量的计算
实对称 三对角阵的全部特征值及相应的特征向量的计算-Symmetric diagonal matrix of all eigenvalues and eigenvectors corresponding calculation
- 2023-08-28 17:55:03下载
- 积分:1
-
循环冗余校验码(CRC)
CRC校验码算法:
例子:
code: 123456789
0xBB3D [47933] CRC-16
0x4B37 [19255] CRC-16 (Modbus)
0x56A6 [22182] CRC-16 (Sick)
0x31C3 [12739] CRCccitt XModem
0x29B1 [10673] CRCccitt 0xFFFF
0xE5CC [58828] CRCccitt 0x1D0F
0x8921 [35105]
- 2022-02-15 20:45:02下载
- 积分:1