Ask Your Question

Anne Schilling's profile - activity

2019-03-12 14:49:12 +0200 received badge  Famous Question (source)
2018-05-09 02:20:10 +0200 received badge  Great Question (source)
2018-04-26 10:07:36 +0200 received badge  Good Question (source)
2018-04-26 01:19:25 +0200 received badge  Nice Question (source)
2018-04-25 20:34:31 +0200 received badge  Notable Question (source)
2017-11-21 18:05:29 +0200 received badge  Popular Question (source)
2016-07-28 11:27:23 +0200 received badge  Famous Question (source)
2015-12-20 16:39:09 +0200 received badge  Popular Question (source)
2015-05-13 01:55:25 +0200 received badge  Popular Question (source)
2013-10-01 15:55:27 +0200 received badge  Famous Question (source)
2012-10-03 03:17:56 +0200 received badge  Notable Question (source)
2012-09-28 04:52:43 +0200 received badge  Notable Question (source)
2012-06-02 04:13:07 +0200 received badge  Taxonomist
2012-03-20 04:18:36 +0200 received badge  Popular Question (source)
2012-03-18 13:25:35 +0200 received badge  Commentator
2012-03-18 13:25:35 +0200 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-16 23:19:00 +0200 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/<ipython console> in <module>()

/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 20:05:50 +0200 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/<ipython console> in <module>()

/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/<ipython console> in <module>()

/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 21:07:16 +0200 received badge  Popular Question (source)
2011-10-13 03:19:21 +0200 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-13 03:18:37 +0200 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 17:19:02 +0200 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-21 02:32:08 +0200 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 21:40:10 +0200 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 15:31:26 +0200 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 19:23:53 +0200 commented question Jmol in Notebook

PS: I am using Firefox.

2011-08-19 19:15:42 +0200 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 19:15:41 +0200 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:47:02 +0200 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 12:30:02 +0200 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-19 03:12:59 +0200 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 17:11:57 +0200 received badge  Supporter (source)
2011-02-15 23:52:59 +0200 received badge  Student (source)
2011-02-14 17:50:44 +0200 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)
<class 'sage.interfaces.mathematica.MathematicaElement'>
sage: mlist.sage()
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)

/Users/anne/Documents/Mathematica/<ipython console> in <module>()

/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}