CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - k matrix
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - k matrix - List
[
Console
]
PROGRAMSEIDEL
DL : 0
一、 Seidel迭代法 算法8.2: 1. 输入矩阵A,右端项b ,初始迭代向量 X(0) ,维数n,容许误差ε ,最大容许迭代次数 N。 2. 置k=1. 3. 计算 X1=(b1-Σa1jxj(0))/a11 j=2,3,…….,n Xi=(bi-Σaijxj-Σaijxj(0))/aii, i=2,3,……,n-1 Xn=(bn-Σanjxj)/ann j=1,2,…….,n-1 4.若||X-X(0)|| <ε,输出X , 停机;否则,转步骤5。 5.若k<N,k+1=>k,X=>X(0),转步骤3;否则输出失败信息,停机 -A, Seidel iteration algorithm 8.2:1. Input matrix A, the right side of b, the initial iterative vector X (0), dimension n, tolerance ε, the maximum allowed number of iterations N. 2. Home k = 1.3. Calculation of X1 = (b1-Σa1jxj (0))/a11 j = 2,3, ... ...., NXi = (bi-Σaijxj-Σaijxj (0))/aii, i = 2,3, ... ..., n-1Xn = (bn-Σanjxj)/ann j = 1,2, ... ...., n-14. If | | XX (0) | | <ε, the output X, downtime Otherwise, switch to step 5.5. If k <N,k+1=> k, X => X (0), to Step 3 Otherwise output failure message downtime
Date
: 2025-12-29
Size
: 50kb
User
:
Gellss
[
Console
]
PROGRAMMIFA
DL : 0
幂法求矩阵的特征值和特征向量 算法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;否则,输出错误信息,停机 -Power-law matrix eigenvalue and eigenvector algorithm 9.11. Input matrix A, the initial vector X, the error ε maximum iteration limit N. 2. Home k = 1, u = 0. 3. For xr => λ, | xr | = max | xr |, i = 1, ...., N. 4. Calculation Y = X/λ, X = AY5. If | λ-u | <ε, the output λ, X, downtime Otherwise, switch to step 6.6. If k <N,k+1=> k, λ => u, to Step 3 Otherwise, output an error message , parking
Date
: 2025-12-29
Size
: 18kb
User
:
Gellss
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.