Easy Sunday...Iterative Methods : Ax=b
|
09-10-2017, 06:04 PM
(This post was last modified: 09-10-2017 06:21 PM by toshk.)
Post: #1
|
|||
|
|||
Easy Sunday...Iterative Methods : Ax=b
Stationary [[A]]
Square [[A]] Can’t afford inversion of [[A]] [[A]] strictly diagonally dominant CAS programming: with Max Iterations of 10000. Jacobi Iteration: JbI([[A]],[guess],[b],error) Gauss-Seidel iteration: GsI([[A]],[guess],[b],error) Steepest Decent Method: SdI([[A]],[guess],[b],error) Conjugate Gradient Method: CgI([[A]],[guess],[b],error) example: JbI([[0.1,0,0],[0,0.1,−0.1],[0,−0.1,0.1]],[[0],[0],[0]],[[0.1],[−0.1],[0.1]],0.0001) Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Easy Sunday...Iterative Methods : Ax=b - toshk - 09-10-2017 06:04 PM
|
User(s) browsing this thread: 1 Guest(s)