how to write gauss seidel method in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siew enn
    New Member
    • Sep 2007
    • 1

    how to write gauss seidel method in c++

    i face a problem with that solve the equation by using gauss seidel method in c++.i don't know how to write the formula in c++.Anyone can help me??
  • emaghero
    New Member
    • Oct 2006
    • 85

    #2
    Originally posted by siew enn
    i face a problem with that solve the equation by using gauss seidel method in c++.i don't know how to write the formula in c++.Anyone can help me??
    The gauss-siedel method is used to solve a system of linear equations of the form A x = b, where A is a matrix and b is a column vector. If you want the code you should check out www.nr.com. This should give you all the code you need.

    If you want to determine the solution of a single equation then you should check out the bisection method, the secanty method or the Newton-Rhapson method. Code for these algorithms can also be found at www.nr.com.

    Comment

    • sicarie
      Recognized Expert Specialist
      • Nov 2006
      • 4677

      #3
      siew enn-

      Please do not double-post. I have deleted your other thread on this question. If you feel your question has been forgotten, after 24 hours you can reply to it with a "bump" message, which will move it back to the top of the forum.

      Thanks

      Comment

      Working...