[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with condeig compatibility
From: |
Marco Caliari |
Subject: |
Re: Help with condeig compatibility |
Date: |
Mon, 18 Jul 2016 09:43:53 +0200 (CEST) |
User-agent: |
Alpine 2.10 (DEB 1266 2009-07-14) |
On Fri, 15 Jul 2016, Rik wrote:
I'm porting condeig over from the linear-algebra Octave Forge package to
core Octave. Can someone run the following code under Matlab and report
the results?
-- Code --
condeig ([])
condeig (magic (3))
condeig (sparse (magic (3))
condeig ([Inf, 1 ; 2 3])
condeig ([NaN, 1 ; 2 3])
-- End Code --
condeig ([])
ans =
Empty matrix: 0-by-1
condeig (magic (3))
ans =
1.0000
1.0607
1.0607
condeig (sparse (magic (3)))
Error using eig
For standard eigenproblem EIG(A) when A is sparse, A must be real and
symmetric. Use EIGS instead.
Error in condeig (line 26)
[X, D, Y] = eig(A);
condeig ([Inf, 1 ; 2 3])
Error using eig
Input to EIG must not contain NaN or Inf.
Error in condeig (line 26)
[X, D, Y] = eig(A);
condeig ([NaN, 1 ; 2 3])
Error using eig
Input to EIG must not contain NaN or Inf.
Error in condeig (line 26)
[X, D, Y] = eig(A);
version
ans =
8.4.0.150421 (R2014b)
Marco