Post a reply
Note:If not registered, provide any username. For more comfort, register here.
Message body:
Enter your message here, it may contain no more than 60000 characters. 

:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.

Topic review - Problems with eigenvals(.)
Author Message
  Post subject:  Problems with eigenvals(.)  Reply with quote
Hi all,
Why can't I get the eigenvalues by the following lines?
LIB "linalg.lib";
ring r=0,x,lp;
> matrix m[2][2]=1,2,3,4;
> print(m);
> eigenvals(m);

It seems that the output is the characteristic polynomial instead of the eigenvalues. Is it because it can't be solved in the field of rational numbers?! Let's try the complex numbers as the field of coefficients.
ring r=complex,x,lp;
// ** redefining r **
> matrix m[2][2]=1,2,3,4;
> print(m);
> eigenvals(m);
   ? not implemented
   ? error occurred in or before STDIN line 9: `    return(system("eigenvals",jet(M,0)));`
Post Posted: Tue Jul 12, 2016 2:35 pm

It is currently Sat Dec 15, 2018 3:56 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group