Skip to content

This program is implemented as a project for EE 242 course, and it implements Normalized Power Iteration with Deflation algorithmm to calculate most dominant eigenvalue, its eigenvector and the second most dominant eigenvalue.

License

Notifications You must be signed in to change notification settings

oakati/Eigenvalues-and-Eigenvectors-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EE-242-Project2-Eigenvalues-and-Eigenvectors-Calculator

//Author Ömer Alperen Kati //Date 29/05/2020

-This program implements Normalized Power Iteration with Deflation algorithmm to calculate most dominant eigenvalue, its eigenvector and the second most dominant eigenvalue.

-This program was written considering that given matrix always will be a square matrix, so make sure that matrix A is square.

HOW TO RUN THE PROGRAM USING CMD

-Firstly, press windows key on your keybord, write cmd and press enter to open command window. Then adjust the directory of cmd as where all your input files and source.cpp file are.

-Secondly, if you are in the correct directory, write "g++ source.cpp -o source.exe" to generate .exe file, and press enter.

Example: C:\Users(!!username here!!)\Desktop\EE242_Project2>g++ source.cpp -o source.exe

-After that, write "source.exe (Insert name of the matrix A here) (Insert value of tolerance here) (Insert name of the output file here)", and press enter to run the program. Example: C:\Users(!!username here!!)\Desktop\EE242_Project2>source.exe A.txt 1e-6 out.txt

//Author Ömer Alperen Kati //Date 29/05/2020

About

This program is implemented as a project for EE 242 course, and it implements Normalized Power Iteration with Deflation algorithmm to calculate most dominant eigenvalue, its eigenvector and the second most dominant eigenvalue.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages