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

Click For Summary
SUMMARY

The forum discussion centers on obtaining a C++ program to implement Gaussian elimination for solving systems of linear equations. The user specifies that the coefficients are real numbers and the matrix size is n by n, indicating a general method for the algorithm. The conversation highlights the importance of defining the matrix properties, such as whether it is symmetric or banded, to determine the most efficient algorithm. A resource link to LAPACK++ is provided for further exploration of numerical methods.

PREREQUISITES
  • Understanding of Gaussian elimination algorithm
  • Familiarity with C++ programming language
  • Basic knowledge of linear algebra concepts
  • Awareness of matrix properties (e.g., symmetric, banded)
NEXT STEPS
  • Research LAPACK++ for advanced numerical methods in C++
  • Learn about optimizing Gaussian elimination for different matrix types
  • Explore C++ libraries for linear algebra, such as Eigen or Armadillo
  • Study the implementation of parallel algorithms for large matrices
USEFUL FOR

Students, educators, and software developers interested in numerical methods, particularly those working with linear algebra and C++ programming.

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
 

Similar threads

Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K
Replies
7
Views
2K