Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 5 results for
gaussianelimination
- Page 1
Elimination part of Gaussian Elimination
Programming
Software Development
13 Years Ago
by vavazoom
…, and why it is not eliminating correctly. [CODE]void Matrix::
gaussianElimination
() { int i, j, max; for(j = 0; j < N… << "Start Gaussian Elimination" << endl;
gaussianElimination
(); for(row = 0; row < N; ++row) { for(col = 0…
Re: Elimination part of Gaussian Elimination
Programming
Software Development
13 Years Ago
by arkoenig
This is more code than I want to bother reading without a clue as to what I'm looking for. However, the following oddity did jump out at me: The for statement on line 10 has as its subject the while statement on lines 11 through 19. Is that what you had in mind? If so, why is the code not indented that way? If not, what [I]did[/I] you have …
Re: Elimination part of Gaussian Elimination
Programming
Software Development
13 Years Ago
by vavazoom
Yes, I had a few different versions I was playing with...the for() was supposed to be taken out.
Re: Elimination part of Gaussian Elimination
Programming
Software Development
13 Years Ago
by tesuji
Hi, glad to see you again I thought her old but similar problem would have already been solved by master mike (Indeed, I had mistaken decomposition with elimination, I say sorry for that.) -- tesu
Re: Elimination part of Gaussian Elimination
Programming
Software Development
13 Years Ago
by mike_2000_17
Well "master mike" is back to quote tesuji... Your program crashes because of this portion of the code (line 40 to 52): [CODE] //For each i > j: row i - (Cij/Cjj)* row j i = j++; for(int row_i = i; row_i < N; row_i++) { for(int row_j = j; row_j <= N; row_j++) {…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC