Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. gauss jordan

gauss jordan

Scheduled Pinned Locked Moved C / C++ / MFC
help
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VeganFanatic
    wrote on last edited by
    #1

    I need some code for a template matrix gauss_jordan(void) { // Gauss-Jordan matrix inversion assert(this->data[].size() == this->data.size()); // Must be a square }; I have not seen much of help so far I do have a code to put a matrix into row echelon form

    http://www.contract-developer.tk

    modified on Saturday, June 12, 2010 3:59 PM

    L T 2 Replies Last reply
    0
    • V VeganFanatic

      I need some code for a template matrix gauss_jordan(void) { // Gauss-Jordan matrix inversion assert(this->data[].size() == this->data.size()); // Must be a square }; I have not seen much of help so far I do have a code to put a matrix into row echelon form

      http://www.contract-developer.tk

      modified on Saturday, June 12, 2010 3:59 PM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      That is because the message boards are about answering questions and providing guidance for those who are doing the work. You are asking for someone to do the work for you. When you have made some progress then by all means ask about specific issues or points.

      Join the cool kids - Come fold with us[^]

      1 Reply Last reply
      0
      • V VeganFanatic

        I need some code for a template matrix gauss_jordan(void) { // Gauss-Jordan matrix inversion assert(this->data[].size() == this->data.size()); // Must be a square }; I have not seen much of help so far I do have a code to put a matrix into row echelon form

        http://www.contract-developer.tk

        modified on Saturday, June 12, 2010 3:59 PM

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        VeganFanatic wrote:

        assert(this->data[].size() == this->data.size()); // Must be a square

        what is data type of data!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

        V 1 Reply Last reply
        0
        • T ThatsAlok

          VeganFanatic wrote:

          assert(this->data[].size() == this->data.size()); // Must be a square

          what is data type of data!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          V Offline
          V Offline
          VeganFanatic
          wrote on last edited by
          #4

          I make everything a template. This way its agnostic to the underlying data to a point. I have templates for vector and matrix already and I can now use vector equations, so when I made my matrix I leveraged that capability a lot. Make the work a lot easier. I finally have LU decomposition, I wanted other algorithms in the library to be used in special cases.

          http://www.contract-developer.tk

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups