Riccardo GUIDA wrote:
>
> does anybody know how to compute the eigenvalues of
>
> (1) -> m:= matrix [[%p, %i *%e],[-%i*%e,%pi^2]]
>
> â %p %i %eâ
> (1) â â
> â 2 â
> â - %i %e %pi â
>
> with one of friCAS eigenvalues function?
Well, exposed functions expect polynomial or rational entries.
You can cheat
(3) -> eigenvalues(map(numer, m))
2 2 2 2
(3) [%C | %C + (- %pi - %p)%C - %e + %p %pi ]
Type:
List(Union(Fraction(Polynomial(SparseMultivariatePolynomial(Complex(Integer),Kernel(Expression(Complex(Integer)))))),SuchThat(Symbol,Polynomial(SparseMultivariatePolynomial(Complex(Integer),Kernel(Expression(Complex(Integer))))))))
or use unexposed one:
(4) -> eigenvalues(m)$InnerEigenPackage(Expression(Complex(Integer)))
2 2 2 2
(4) [? + (- %pi - %p)? - %e + %p %pi ]
Type:
List(Union(Expression(Complex(Integer)),SparseUnivariatePolynomial(Expression(Complex(Integer)))))
Or, follow Johannes advice.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.