Questions tagged [eigenvalue]

The eigenvalue is the factor by which the eigenvector is scaled when multiplied by the matrix.

The eigenvectors of a square matrix are the non-zero vectors that, after being multiplied by the matrix, remain parallel to the original vector. For each eigenvector, the corresponding eigenvalue is the factor by which the eigenvector is scaled when multiplied by the matrix. The prefix eigen- is adopted from the German word "eigen" for "own"[1] in the sense of a characteristic description. The eigenvectors are sometimes also called characteristic vectors. Similarly, the eigenvalues are also known as characteristic values.

Find more on this topic on Wikipedia

747 questions
4
votes
3 answers

Solving Eigen System in c#?

Do you know of a good library/way that I can use to solve an eigen system in c#? My data is 2D/3D and I want to get direction and length of first and second eigen vectors to evaluate how my data is elongated in 2D space. Thanks
Mo Valipour
  • 13,286
  • 12
  • 61
  • 87
4
votes
1 answer

Solving Generalized eigenvectors and eigen values to get a common basis

I am looking for solving a generalized eigenvectors and eigen value problem in Matlab. For this, I have tested 2 methods. if Generalized problem is formulated as : Then, we could multiply by B^(-1) on each side, such as : So, from a theorical…
user1773603
4
votes
1 answer

Why does the product of the eigenvector and the corresponding eigenvalue not equal the product of the original matrix and the eigenvector?

When I multiply an eigenvector by a matrix, it should result in the same output as multiplying that eigenvector by its corresponding eigenvalue. I am trying to verify that my eigenvectors and eigenvalues are working as advertised, but the outputs…
4
votes
0 answers

any fuction in python as polyeig() in matlab?

i'm trying to solve a polynomial eigen value problem in python and i need a function like polyeig in matlab, is there any library that is capable of doing this? The problem that i'm trying to solve is of the…
jsp
  • 155
  • 1
  • 7
4
votes
1 answer

Confused about Eigen QR decomposition

I am confused about Eigen's QR decomposition. My understanding is that the matrix Q is stored implicitly as a sequence of Householder transformations, and that the matrix R is stored as an upper triangular matrix, and that the diagonal of R contains…
user14717
  • 4,757
  • 2
  • 44
  • 68
4
votes
1 answer

Can we calculate only the n-th eigenvalue and eigenvector of a very large sparse matrix?

I have a very big sparse matrix A = 7Mi-by-7Mi matrix. I am using Matlab's eigs(A,k) function which can calculate first k eigenvalues and vectors. I need all of its eigenvector and values. But I can't store all of the eigenvectors because it…
Luqman Saleem
  • 191
  • 10
4
votes
2 answers

Finding Largest Eigenvalue of Huge Sparse Matrix

I am trying to find the largest eigenvalue of an incredibly sparse adjacency matrix. I have tried using all the approaches I see available: mat = scipy.io.mmread(f) mat = scipy.sparse.csr_matrix(mat) G = nx.to_networkx_graph(mat) mat = None #…
tnallen
  • 49
  • 2
4
votes
1 answer

Eigendecomposition makes me wonder in numpy

I test the theorem that A = Q * Lambda * Q_inverse where Q the Matrix with the Eigenvectors and Lambda the Diagonal matrix having the Eigenvalues in the Diagonal. My code is the following: import numpy as np from numpy import linalg as…
user8270077
  • 4,621
  • 17
  • 75
  • 140
4
votes
3 answers

Find zeros of the characteristic polynomial of a matrix with Python

Given an N x N symmetric matrix C and an N x N diagonal matrix I, find the solutions of the equation det(λI-C)=0. In other words, the (generalized) eigenvalues of C are to be found. I know few ways how to solve this in MATLAB using build-in…
andreyxdd
  • 73
  • 2
  • 7
4
votes
1 answer

Modelica linear analysis

I am new into Modelica/Dymola-modeling. I started to model fluid models for my master-thesis (pipes, heaters, control). My professor suggested: Check the eigenvalues of the systems and the ratio of them (and if the systems is stiff). So did the…
Matias
  • 581
  • 1
  • 5
  • 16
4
votes
1 answer

Find the eigenvalues of a subset of Dataframe in Python

I have a matrix in the form of DataFrame df= 6M 1Y 2Y 4Y 5Y 10Y 30Y 6M n/a n/a n/a n/a n/a n/a n/a 1Y n/a 1 0.9465095 …
Hamed
  • 757
  • 3
  • 10
  • 17
4
votes
2 answers

Matlab Not Returning Orthonormal Matrix of Eigenvectors

When I try to find the eigen-decomposition of a matrix in Matlab that has a repeated eigenvalue but is NOT defective, it is not returning an orthonormal matrix of eignevectors. For example: k = 5; repeats = 1; % First generate a random matrix of…
rwolst
  • 12,904
  • 16
  • 54
  • 75
4
votes
3 answers

Java package for eigenvector/eigenvalues computation?

which java package do you recommend for computing eigenvectors/eigenvalues? I know about JMathTools and JAMA; do you have some pro/cons for these packages? Other suggestions?
lmsasu
  • 7,459
  • 18
  • 79
  • 113
4
votes
1 answer

How does numpy.linalg.eig decide on order in which eigenvalues are returned?

When I use numpy.linalg.eig like eValues, eVectors = numpy.linalg.eig(someMatrix) the eValues returned are almost in descending order. How does numpy.linalg.eig decide on order in which eigenvalues are returned?
user3731622
  • 4,844
  • 8
  • 45
  • 84
4
votes
5 answers

Tool to diagonalize large matrices

I want to compute a diffusion kernel, which involves taking exp(b*A) where A is a large matrix. In order to play with values of b, I'd like to diagonalize A (so that exp(A) runs quickly). My matrix is about 25k x 25k, but is very sparse - only…
Xodarap
  • 11,581
  • 11
  • 56
  • 94