搜索资源列表
PROGRAMMIFA
- 幂法求矩阵的特征值和特征向量 算法9.1 1. 输入矩阵A,初始向量X,误差限ε最大迭代次数N。 2. 置k=1,u=0。 3. 求xr=>λ,|xr|=max|xr|,i=1,….,n。 4. 计算 Y=X/λ,X=AY 5. 若|λ-u|〈ε,输出λ,X,停机;否则,转步骤6。 6. 若k<N,k+1=>k,λ=>u,转步骤3;否则,输出错误信息,停机
Matrix
- 实现矩阵的特征值特征向量的计算,矩阵乘法,线性方程组求解以及矩阵行列式计算。-Eigenvectors of the matrix eigenvalue computation, matrix multiplication, solving linear equations and matrix determinant calculation.
Matrix
- 矩阵类的一个完美实现,可计算加减乘幂与取模-The impletation of the Clase Matrix
matrix_compute
- 该程序用于计算矩阵的乘方和,采用算法设计中的分治法实现,计算速度快,算法复杂度低。-Involution of the procedures used to calculate the matrix using the divide and conquer algorithm design to achieve calculation speed, low complexity of the algorithm.
MatrixChain
- 给定数量的矩阵相乘 给出矩阵计算乘法的最小次数 并给出分割点-A given number of matrix multiplied to give the minimum number of times of the multiplication of the matrix calculation and gives the split point
exp1
- dos窗口 提供对稀疏矩阵的计算,包括加法减法-The dos window provides sparse matrix calculations, including addition subtraction
Matrix
- 稀疏矩阵是指那些多数元素为零的矩阵。利用“稀疏”特点进行存储和计算可以大大节省存储空间,提高计算效率。实现一个能进行稀疏矩阵基本运算的运算器。 基本要求为: 以“带行逻辑连接信息”的三元组顺序表表示稀疏矩阵,实现两个矩阵相加、相减和相乘的运算。稀疏矩阵的输入形式采用三元组表示,而运算结果的矩阵则以通常的阵列形式列出。-Sparse matrix is a matrix that most elements are zero. " Sparse"
pinvc
- C++求解矩阵的广义逆,已经和MATLAB的计算结果对比过,完全一致、-code to get generalized inverse matrix
Knapsack
- 算法设计与分析中背包问题。 首先将最优解矩阵的第一行和第一列均赋值为0;然后从上至下、从左至右依次计算m[i][j]的值,如果第i个物品 的重量大于j的值,即第i个物品不放入背包中,则将m[i][j]赋值为m[i-1][j],否则取第i个物品放入背包和不放入背 包所得价值的最大值;最后从后往前计算最优解向量的值,如果m[i][j]=m[i-1][j],则将x[i]赋值为0,否则将x[i] 赋值为1,并将j减去第i个物品的重量。-The knapsack problem al
2011010963_e2
- 稀疏矩阵的存储与计算,功能如下: 1能够修改矩阵中元素的值 2矩阵的加法运算 3矩阵的乘法运算-Storage and computing sparse matrix, the following functions: 1 can modify the value of the elements in the matrix 2 matrix addition 3 matrix multiplication
Floyd
- 这是算法课的作业,读取文件中的距离矩阵,计算最短路径-This is the algorithm class job, read the file in the distance matrix to calculate the shortest path
matrix
- 是一个关于矩阵计算的头文件,包含计算矩阵的逆矩阵,代数余子式,伴随矩阵,行列式,矩阵相乘等。-It is a matrix calculation on the header file containing the calculation of matrix inverse matrix, cofactor, adjoint matrix, determinant, matrix multiplication and so on.
juzhen
- 矩阵乘法,应用分治的思想方法快速计算两个矩阵相乘的结果-juzhen chengfa
Matrix
- C++实现的矩阵操作,包括计算行列式、求最大最小值及其下标、矩阵求逆、转置等功能-Matrix operations C++ implementation, including the calculation of the determinant, find the minimum and maximum values and subscr ipt, matrix inversion, transpose function
juzhenchenfa
- 输入两个矩阵,然后根据矩阵的运算规则,实现两个矩阵的乘法计算,得出结果矩阵并输出。-Enter the two matrices and matrix operation according to the rules, to achieve the multiplication of two matrices calculated the resulting matrix output.
Matrics-and-Vector
- 用c++程序计算矩阵的各种基本运算,包括就坚持与求稚-Computing matrix with c++ program all the basic operations, including seeking to stick with juvenile
sba
- 用于一些超大矩阵的计算,用于无人机摄影的光束法平差计算-Some calculations for large matrix for UAV photography bundle adjustment calculation
Class-matrix
- 设计一个矩阵类CMatrix,该矩阵的行列数可根据需要设定(即不指定固定的行列数),并完成基本的计算功能。-Designing a matrix class CMatrix, the number of ranks of the matrix may need to be set (ie do not specify a fixed number of ranks), and perform basic computing functions.
Max-Multiply
- i.最大K乘积问题 问题描述 设I是一个n位十进制整数。如果将I划分为k段,则可得到k个整数。这k个整数的乘积称为I的一个k乘积。试设计一个算法,对于给定的I和k,求出I的最大k乘积。 例如十进制整数 1234 划分为 3 段可有如下情形: 1 × 2 × 34 68 1 × 23 × 4 92 12 × 3 × 4 144 编程任务 对于给定的I 和k,编程计算I 的最大k 乘积。 数据输入 输入的第1 行中有2个正整数n和k。正整数n是序列的