> tst <- array(c(1,2,2,1), dim=c(2,2)) > eigen(tst) $values [1] 3 -1
$vectors
[,1] [,2]
[1,] 0.7071068 0.7071068
[2,] 0.7071068 -0.7071068Does this answer your question? Spencer Graves
Feng Zhang wrote:
Hey, all
Given a square matrix, how can I check if this matrix is positive definite or not?
Thanks.
Fred
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
