[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matrix Gauss-Seidl Method
From: |
Martin Helm |
Subject: |
Re: Matrix Gauss-Seidl Method |
Date: |
Sat, 4 Dec 2010 20:28:18 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.7-0.5-desktop; KDE/4.5.4; x86_64; ; ) |
Am Samstag, 4. Dezember 2010, 18:33:22 schrieb krawa:
> Hi. I have some problem. I need to write a function to solve this equation
> A x = B (Linear equation)
> Uhe method that should be used is Gauss-Seidl Method.
> where
>
> A= 5 2 1 1 0
> 4 10 2 -3 -1
> 0 2 8 2 1
> 1 1 2 9 3
> 0 0 4 2 8
>
> B= 12
> 17
> 19
> 32
>
> I will appreciate any help:)
Usually I do not answer on a question which sounds like homework, but what is
wrongfor you with the simple wiki article which even includes pseudo code that
shows you how it works?
http://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method
Google is your friend here (but google for the correct name: Seidel)