[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45511] eig() sometimes accepts second matrix
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45511] eig() sometimes accepts second matrix without using it |
Date: |
Thu, 09 Jul 2015 21:21:52 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0 |
URL:
<http://savannah.gnu.org/bugs/?45511>
Summary: eig() sometimes accepts second matrix without using
it
Project: GNU Octave
Submitted by: None
Submitted on: Thu 09 Jul 2015 09:21:51 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: Mac OS
_______________________________________________________
Details:
Sometimes, [V,D]=eig(K,M) solves the generalized eigenvalue equation lambda *
M * v = K * v, but other times it doesn't.
For example, for K = [1 2; 3 4], M = [5 6; 7 8] it seems to work, and we get
two different answers for eig(K) vs. eig(K,M).
However, for
K =
1.8000 + 0.0000i -1.0970 + 0.9550i
-1.0970 - 0.9550i 1.8000 + 0.0000i
and
M =
209 0
0 209
eig(K,M) gives the same answer as eig(K), which is incorrect.
(I also posted the issue here:
http://stackoverflow.com/questions/31327630/scipy-linalg-eig-giving-different-eigenvectors-from-gnu-octaves-eig.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45511>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45511] eig() sometimes accepts second matrix without using it,
anonymous <=