Giter Club home page Giter Club logo

oakati / eigenvalues-and-eigenvectors-calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.7 MB

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: GNU General Public License v3.0

C++ 100.00%
algorithm algorithms cp cplusplus cpp deflation eigenvalue eigenvalues eigenvalues-and-eigenvectors eigenvectors

eigenvalues-and-eigenvectors-calculator's Introduction

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

eigenvalues-and-eigenvectors-calculator's People

Contributors

oakati avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.