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

AI Thread Summary
A user seeks assistance with C++ code for solving Gaussian elimination for an n x n matrix with real number coefficients. Respondents emphasize the need for clarity on the matrix's properties, such as whether it is symmetric or banded, as this affects the choice of algorithms. They suggest starting with resources like LAPACK++ for efficient implementations. The user confirms they require a general method for real coefficients in an n x n format. The discussion highlights the importance of specifying matrix characteristics for optimal coding solutions.
Hussein Abd
Messages
6
Reaction score
0
Hi,

can anyone 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.
 
Physics news on Phys.org
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:
The sort of coefficients is real number and the size is n by n ( general method ) n*n .

thank you ever so much
 
Back
Top