Ted Dunning wrote:
> Numerical issues should not impinge on a computation this small.
>
> For reference, I replicated your computation and found reasonable
> eigenvalues and vectors:
>
>> m = matrix(c(0,1,-1,1,1,0,-1,0,1), nrow=3)
>> m
> [,1] [,2] [,3]
> [1,]01 -1
> [2,]11
On Sun, Sep 20, 2009 at 7:51 AM, Ted Dunning wrote:
> Numerical issues should not impinge on a computation this small.
...
> Your usage appears to be in accord with the suggested usage, but have you
> tried it with a tolerance of, say, 1e-3?
This gives the same result: {(NaN); (NaN); (NaN)}
--
Ax
Numerical issues should not impinge on a computation this small.
For reference, I replicated your computation and found reasonable
eigenvalues and vectors:
> m = matrix(c(0,1,-1,1,1,0,-1,0,1), nrow=3)
> m
[,1] [,2] [,3]
[1,]01 -1
[2,]110
[3,] -101
> eig(m)
Err
Hello
I'm trying to calculate the Eigenvectors of this Wikipedia example:
http://en.wikipedia.org/wiki/Eigenvalue_algorithm#Identifying_eigenvectors
with this JUnit method:
public void testEigenDecomposition() {
double[][] m = { { 0.0, 1.0, -1.0 }, { 1.0, 1.0, 0.0 }, { -1.0,
0.0, 1.0 } };