LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2011, 09:27 AM   #1
C.L.
LQ Newbie
 
Registered: Jul 2010
Posts: 17

Rep: Reputation: 1
Fortran LAPACK subroutine DSYEV: order of eigenvalues.


Greetings. The LAPACK software package for fortran is a linear algebra package, and it has a particular subroutine called DSYEV that computes all the eigenvalues and eigenvectors of a real symmetric matrix.
Now, I am calculating a scalar for each eigenvector. I think DSYEV prints out the eigenvalues in ascending order, correct? So how can I associate each scalar with its corresponding eigenvector, or equivalently how can I associate each eigenvector with its eigenvalue?
 
Old 11-09-2011, 10:52 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Assuming you're using right eigenvectors, for the matrix M and eigenvector v, M v = c v, where c is the eigenvalue, so c = (M v)i / vi for any non-zero vi.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating all eigenvalues and eigenvectors for a huge real symmetric sparse matrix shitij90 Programming 8 06-30-2011 02:35 AM
How to call fortran subroutine from IDL seflyer Programming 1 10-16-2010 01:05 PM
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
Gnu Fortran versus Intel Fortran tomatoefish Linux - Software 3 02-20-2006 01:31 PM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration