Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: I want code (program) to solve Gaussian Elemination by C++

  1. Jan 1, 2007 #1
    Hi,

    can any one help me ?

    I want code (program) to solve Gaussian Elemination by C++ .

    Please Help me and I will really appreciate your time and effort in
    helping me in my assignment.


    Thanks.
     
  2. jcsd
  3. Jan 1, 2007 #2

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    I think you need to define better what you actually want.

    What sort of coefficients - real or complex?

    What size of equations - 10x10 or 10,000,000 x 10,000,000?

    Any special properties of the left hand side matrix - general? symmetric? banded? positive definite? Hermitian? tridiagonal? etc etc.... there are different (efficient) algorithms for all of them.

    Start here: http://math.nist.gov/lapack++/
     
    Last edited: Jan 1, 2007
  4. Jan 1, 2007 #3
    The sort of coefficients is real number and the size is n by n ( general method ) n*n .

    thank you ever so much
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook