Skip to content

nescirem/linearEquationsSolver

Repository files navigation

Slove Linear Equations

flowchart and program control flow
Values     Define
A         Coefficient matrix
b         Right side vector
A|b       Augmented matrix which contains coefficient matrix A and right side vector b
iter Number of iterations
Err_limit Iterative error
Lax_factor Relaxation factor
------------- -----------------------------------------------------------------------------------------
L         Lower triangular matrix of A
U Upper triangular matrix of A
R R=L+U
D Diagonal matrix of A
M M=invertD
P Arrangement matrix
y Intermediate vector in direct methods and jacobi method
solution Repersent x, which defined by A·x=b

Direct methods

control flow and flowcharts of Gaussian elimination
  • Input: A|b
control flow and flowcharts of LU decomposition
  • Input: A,b

Iterative methods

control flow and flowcharts of Jacobi method
  • Input: A,b,iter,Err_limit
control flow and flowcharts of Gauss–Seidel method
  • Input: A,b,iter,Err_limit
control flow and flowcharts of Successive over-relaxation method
  • Input: A,b,iter,Err_limit,Lax_factor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages