> On Nov 16, 2017, at 20:20 , rajni goyal <goyalrajni2...@gmail.com> wrote: > > I want to know commend to get eigen values
There are a couple of ways to find out commands to get what you want. If you have an idea of what the command might be, type its first several letters follow by the TAB character. If you have an object (like a matrix), type its name followed by a period, and TAB, like this (the string: “[TAB]” represents the TAB character; it isn’t printed, and it’s not what you type): sage: MS=MatrixSpace(QQ,2,2) sage: M=MS.random_element() sage: M [-2 2] [-1 -2] sage: M.det() 6 sage: M.[TAB] (or M.ei[TAB], etc.) The latter gets you sage: M.eigen[TAB] M.eigenmatrix_left M.eigenspaces_right M.eigenvectors_right M.eigenmatrix_right M.eigenvalues M.eigenspaces_left M.eigenvectors_left Use cursor keys to select what you want, and add parens: sage: M.eigenvalues() [-2 - 1.414213562373095?*I, -2 + 1.414213562373095?*I] Note: some names are values associated with the object, not functions. Typing a question mark after a full name (like M.eigenvalues) gets you documentation; a double question mark gets you doc with code. Play around with it; ask more questions. See also <http://ask.sagemath.org> as another place to ask. HTH Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- I want to die, peacefully in my sleep, like my grandfather; not screaming in terror, like his passengers. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.