Code Monkey home page Code Monkey logo

eigenvaluesfinder's Introduction

EigenValuesFinder

Приложение, разработанное для того, чтобы находить:

  1. Собственные подпространства матрицы
  2. Матрицу перехода к собственному базису (если возможно)
  3. TODO: Матрицу перехода к жордановой форме

Пример использования

  1. Описываем матрицу, с которой хотим работать, в отдельном файле (в данном примере файл носит имя debug.txt) в формате
    n = 3
    3 -4 -5
    -1 3 2
    3/2 -3 -5/2
  2. Запускаем из консоли собранное приложение, указывая в аргументах имя файла, который содержит матрицу `./eigenvaluesfinder debug.txt'
  3. Получаем вывод в формате
    Matrix:
    3 -4 -5
    -1 3 2
    3/2 -3 -5/2
    Characteristics polynomial:
    F(x) = - x^3 + 7/2 x^2 - 7/2 x^1 + 1
    Rational eigenvalues:
    x_1 = 1/2
    x_2 = 1
    x_3 = 2
    Eigenspaces:
    L(1/2) = span ( (2, 0, 1) )
    L(1) = span ( (2, 1, 0) )
    L(2) = span ( (1, -1, 1) )
    Matrix decomposition:
    A = C D C^(-1)
    C:
    2 2 1
    0 1 -1
    1 0 1
    D:
    1/2 0 0
    0 1 0
    0 0 2
    C^(-1):
    -1 2 3
    1 -1 -2
    1 -2 -2

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.