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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Code for finding eigenvectors and eigenvalues

Code for finding eigenvectors and eigenvalues

Scheduled Pinned Locked Moved C / C++ / MFC
6 Posts 5 Posters 1 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.
  • S Offline
    S Offline
    shyampasari
    wrote on last edited by
    #1

    Hello, Can anybody give me the code for finding eigenvalues & eigenvectors of any matrix or either tell me the way to do this.:confused:

    C L CPalliniC M 4 Replies Last reply
    0
    • S shyampasari

      Hello, Can anybody give me the code for finding eigenvalues & eigenvectors of any matrix or either tell me the way to do this.:confused:

      C Offline
      C Offline
      chandu004
      wrote on last edited by
      #2

      i came across this concept long ago. can you just revise the concepts of eigenvalues and vectors such that i will try if i can remember it.

      S 1 Reply Last reply
      0
      • C chandu004

        i came across this concept long ago. can you just revise the concepts of eigenvalues and vectors such that i will try if i can remember it.

        S Offline
        S Offline
        shyampasari
        wrote on last edited by
        #3

        say A be any square matrix then there exist A*x=u*x u=scalar,x=eigenvectors (A-uI)x=0; //from here we can calculate the eigenvalues u //x is a non zero vector/matrix

        1 Reply Last reply
        0
        • S shyampasari

          Hello, Can anybody give me the code for finding eigenvalues & eigenvectors of any matrix or either tell me the way to do this.:confused:

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

          Sure, here you go: wiki:Eigenvalue_algorithm[^]

          1 Reply Last reply
          0
          • S shyampasari

            Hello, Can anybody give me the code for finding eigenvalues & eigenvectors of any matrix or either tell me the way to do this.:confused:

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            Have a look at "Numerical Recipes in C" [^]. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • S shyampasari

              Hello, Can anybody give me the code for finding eigenvalues & eigenvectors of any matrix or either tell me the way to do this.:confused:

              M Offline
              M Offline
              Member_14834979
              wrote on last edited by
              #6

              If you got the code then please send ma at my Gmail naeemyaseen78@gmail.com

              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