2019-03-12 08:49:12 -0500 received badge ● Famous Question (source) 2018-05-08 19:20:10 -0500 received badge ● Great Question (source) 2018-04-26 03:07:36 -0500 received badge ● Good Question (source) 2018-04-25 18:19:25 -0500 received badge ● Nice Question (source) 2018-04-25 13:34:31 -0500 received badge ● Notable Question (source) 2017-11-21 11:05:29 -0500 received badge ● Popular Question (source) 2016-07-28 04:27:23 -0500 received badge ● Famous Question (source) 2015-12-20 09:39:09 -0500 received badge ● Popular Question (source) 2015-05-12 18:55:25 -0500 received badge ● Popular Question (source) 2013-10-01 08:55:27 -0500 received badge ● Famous Question (source) 2012-10-02 20:17:56 -0500 received badge ● Notable Question (source) 2012-09-27 21:52:43 -0500 received badge ● Notable Question (source) 2012-06-01 21:13:07 -0500 received badge ● Taxonomist 2012-03-19 22:18:36 -0500 received badge ● Popular Question (source) 2012-03-18 07:25:35 -0500 commented answer Eigenvalues of matrix with entries in polynomial ring Thank you! That works! Am I allowed to use this in sage source code? 2012-03-18 07:25:35 -0500 received badge ● Commentator 2012-03-16 17:19:00 -0500 answered a question Eigenvalues of matrix with entries in polynomial ring Here is an easier example with the question: sage: R = PolynomialRing(QQ, 'x', 2) sage: x = R.gens() sage: M = matrix([[x[0],x[1]],[x[1],x[0]]]) sage: M.eigenvalues() --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) /Applications/sage-5.0.beta7/devel/sage-combinat/sage/combinat/posets/ in () /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix /matrix2.so in sage.matrix.matrix2.Matrix.eigenvalues (sage/matrix/matrix2.c:26415)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.fcp (sage/matrix/matrix2.c:11089)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.factor (sage/rings/polynomial/polynomial_element.c:22655)() NotImplementedError:  2012-03-16 14:05:50 -0500 asked a question Eigenvalues of matrix with entries in polynomial ring Hi! I just wrote some code on the sage-combinat queue which computes a matrix with entries in a polynomial ring R = PolynomialRing(QQ, 'x', n) sage: P = Poset(([1,2,3,4], [[1,3],[1,4],[2,3]]), linear_extension = True) sage: L = P.linear_extensions() sage: M = L.markov_chain_transition_matrix(labeling = 'source') sage: M [-x0 - x1 - x2 x3 x0 + x3 0 0] [ x1 + x2 -x0 - x1 - x3 0 x1 0] [ 0 x1 -x0 - x3 0 x1] [ 0 x0 0 -x0 - x1 - x2 x0 + x3] [ x0 0 0 x0 + x2 -x0 - x1 - x3] sage: M.eigenvalues() --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) /Applications/sage-5.0.beta7/devel/sage-combinat/sage/combinat/posets/ in () /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.eigenvalues (sage/matrix/matrix2.c:26415)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.fcp (sage/matrix/matrix2.c:11089)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.factor (sage/rings/polynomial/polynomial_element.c:22655)() NotImplementedError:  Is it possible to compute this some other way or is this just not yet implemented (which would surprise me!). Thanks, Anne Edit (originally posted as an answer by the original poster of the question) Here is an easier example with the question: sage: R = PolynomialRing(QQ, 'x', 2) sage: x = R.gens() sage: M = matrix([[x[0],x[1]],[x[1],x[0]]]) sage: M.eigenvalues() --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) /Applications/sage-5.0.beta7/devel/sage-combinat/sage/combinat/posets/ in () /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix /matrix2.so in sage.matrix.matrix2.Matrix.eigenvalues (sage/matrix/matrix2.c:26415)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.fcp (sage/matrix/matrix2.c:11089)() /Applications/sage-5.0.beta7/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.factor (sage/rings/polynomial/polynomial_element.c:22655)() NotImplementedError:  2011-11-20 14:07:16 -0500 received badge ● Popular Question (source) 2011-10-12 20:19:21 -0500 commented answer Saving of notebook worksheets under Safari I was forced to use Safari since jmol does not work for me under Firefox in the Sage notebook. 2011-10-12 20:18:37 -0500 commented answer Saving of notebook worksheets under Safari What are the precise commands that you use? When I click on "File - Save to worksheet to a file" I get a window under Safari, which wants to save the file, but then does not do anything. Under Firefox I get the same window, but then it takes me to a place where I can specify where to save the file to. Under Safari nothing seems to be saved for me. 2011-10-10 10:19:02 -0500 asked a question Saving of notebook worksheets under Safari I cannot save notebook worksheets under Safari (I had to switch from Firefox to Safari since jmol did not work for me under Firefox). This seems to be the same problem as described here http://groups.google.com/group/sage-n... Was this ever resolved? Thanks, Anne 2011-08-20 19:32:08 -0500 commented answer Jmol in Notebook Thank you, your export statement for Safari works! It would still be good to understand the Firefox problem at some point since from the threads in sage-support it seems that others have had the same problem. 2011-08-20 14:40:10 -0500 commented answer Jmol in Notebook My problem seems to be the same as in http://groups.google.com/group/sage-support/browse_frm/thread/f726900d8281508e/0fb1328060b9b83c?tvc=1&q=Jmol#0fb1328060b9b83c . There is no answer there. Was this issue ever resolved? 2011-08-20 08:31:26 -0500 commented answer Jmol in Notebook Well, I updated to Firefox 6.0, cleared all browsing data, but it still does not work for me. I still get a black picture and a little note saying "jmol script terminated". It does work with Safari, however. But then I am having trouble getting sage to use a non-default browser. I put export SAGE_BROWSER="/Applications/Safari.app/Contents/MacOS/Safari" in my .bashrc file, but then Safari complains that it cannot find certain files. Did you use firefox when you tried the lacim server? 2011-08-19 12:23:53 -0500 commented question Jmol in Notebook PS: I am using Firefox. 2011-08-19 12:15:42 -0500 commented question Jmol in Notebook Thank you for your answers. I am running sage-4.7.1 under Mac OS. The jmol applet loads fine for me when I go to http://jmol.sourceforge.net/demo/alphahelix/ . I am not sure which operating system http://sage.lacim.uqam.ca uses, but the sage version there is sage-4.7. You can get a free account and see whether the problem also occurs for you there. 2011-08-19 12:15:41 -0500 commented question Jmol in Notebook Thank you for your answers. I am running sage-4.7.1 under Mac OS. The jmol applet loads fine for me when I go to http://jmol.sourceforge.net/demo/alphahelix/ . I am not sure which operating system http://sage.lacim.uqam.ca uses, but the sage version there is sage-4.7. You can get a free account and see whether the problem also occurs for you there. 2011-08-19 05:47:02 -0500 asked a question Jmol in Notebook Hi! I am trying to use the following commands in the notebook: sage: x, y, z = var('x, y, z') sage: plot3d(x^2 + y^2, (x,-2,2), (y,-2,2))  but Jmol terminates and just returns a black picture. These commands work fine in the command line. I tried this both on my laptop and on the notebook server at sage.lacim.uqam.ca. Is there some configuration necessary to display jmol pictures in the notebook? Thanks, Anne 2011-08-19 05:30:02 -0500 commented answer vector calc Thank you very much for your answers! That is very helpful. We are using WebWork as well, so this will be perfect. 2011-08-18 20:12:59 -0500 asked a question vector calc Hi! Is there already a sage tutorial/notes for teaching vector calculus (like double integrals, vector fields, ...). I looked on the teaching website, but there was not so much available yet. Thanks, Anne 2011-02-17 10:11:57 -0500 received badge ● Supporter (source) 2011-02-15 16:52:59 -0500 received badge ● Student (source) 2011-02-14 10:50:44 -0500 asked a question Converting from Mathematica output Hi! I am trying to run a Mathematica program from within Sage and would like to convert the output of the program to Sage objects, so that I can keep manipulating them. The output are typically lists. However, I am having trouble with the conversion; see the Sage session below. Does someone know what is wrong or how to do it correctly (my reference is link:here ). Thank you! Anne :: sage: m = mathematica sage: slist = [[1,2,3],1] sage: mlist = m(slist) sage: mlist {{1, 2, 3}, 1} sage: type(mlist) sage: mlist.sage() --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) /Users/anne/Documents/Mathematica/ in () /Applications/sage/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc in sage(self) 1732 Rational Field 1733 """ -> 1734 return self._sage_() 1735 1736 def __repr__(self): /Applications/sage/local/lib/python2.6/site-packages/sage/interfaces /mathematica.pyc in _sage_(self) 581 return SR(result) 582 except TypeError: --> 583 raise NotImplementedError, "Unable to parse Mathematica output: %s" % result 584 585 def __str__(self): NotImplementedError: Unable to parse Mathematica output: {{1, 2, 3}, 1}