Re: [R] Symbolic eigenvalues and eigenvectors

2010-05-04 Thread Steve Lianoglou
Hi John, It's common courtesy to keep all discussions originating from R-help back on list so it can act as a helpful resource for others to peruse when they have similar questions. With that in mind, I think you forgot to CC the list with your very informative follow-up reply to me: On Tue, May

Re: [R] Symbolic eigenvalues and eigenvectors

2010-05-04 Thread Gabor Grothendieck
Eigenvalues are not directly supported by the Ryacas interface but you can send this directly to yacas like this: > yacas("EigenValues({{Cos(x), -Sin(x)}, {Sin(x), Cos(x)}})") [1] "Starting Yacas!" expression(Roots((cos(x) - xx)^2 + sin(x)^2)) On Tue, May 4, 2010 at 8:54 PM, John Mesheimer wrot

Re: [R] Symbolic eigenvalues and eigenvectors

2010-05-04 Thread John Mesheimer
Thanks, Steve. Can you please show me at least one hit that answers my question? On Tue, May 4, 2010 at 9:06 PM, Steve Lianoglou < mailinglist.honey...@gmail.com> wrote: > Hi, > > On Tue, May 4, 2010 at 8:54 PM, John Mesheimer > wrote: > > Let's say I had a matrix like this: > > > > library(Rya

Re: [R] Symbolic eigenvalues and eigenvectors

2010-05-04 Thread Steve Lianoglou
Hi, On Tue, May 4, 2010 at 8:54 PM, John Mesheimer wrote: > Let's say I had a matrix like this: > > library(Ryacas) > x<-Sym("x") > m<-matrix(c(cos (x), sin(x), -sin(x), cos(x)), ncol=2) > > How can I use R to obtain the eigenvalues and eigenvectors? R> help.search('eigenvalues') is a good star

[R] Symbolic eigenvalues and eigenvectors

2010-05-04 Thread John Mesheimer
Let's say I had a matrix like this: library(Ryacas) x<-Sym("x") m<-matrix(c(cos (x), sin(x), -sin(x), cos(x)), ncol=2) How can I use R to obtain the eigenvalues and eigenvectors? Thanks, John [[alternative HTML version deleted]] __ R-help@r-p