code to solve Gaussian Elemination by C (or) C++

This is a discussion on code to solve Gaussian Elemination by C (or) C++ within the C Programming forums, part of the General Programming Boards category; Hi! Does anyone have a code for solvong equations by the Gaussian Elemination method ?? I have 12 equations & ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    27

    code to solve Gaussian Elemination by C (or) C++

    Hi!

    Does anyone have a code for solvong equations by the Gaussian Elemination method ??
    I have 12 equations & 12 unknowns. SO a code for "n" variables could be ideal

    Thx,

  2. #2
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    Homework? me thinks....
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  3. #3
    Registered User
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    27
    no it isn't homework. A private project ... With loads of sensors ... I am getting values from 4 sensors now & want to try to get back to the distance thro that.
    After a lot of math ... i have to now solve this stuff... i am pretty sure there are lots of codes for this on the net. So was wondering if anyone had it :-)

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,338
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    27
    tried it , found only stuff in fortran ... but scrollin down helps ....


    this one seems good : http://www.gilsinan.com/thesis/gaussian.c

    Thanks !

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  3. Explain this C code in english
    By soadlink in forum C Programming
    Replies: 16
    Last Post: 08-31-2006, 12:48 AM
  4. Replies: 0
    Last Post: 02-21-2002, 05:05 PM
  5. Replies: 4
    Last Post: 01-15-2002, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21