[sage-support] Optional package in Sage : Graphviz

2009-08-21 Thread Nathann Cohen
Hello As we are dealing in Sage with a patch concerning the plotting of Trees, I wondered why we were not using Graphviz to plot them.. The answer is the usual one : Graphviz is not GPL-Uncompatible... Even though, there is in Sage an optional package for Graphviz that can be installed

[sage-support] Re: Memory issues with maxima in SAGE

2009-08-21 Thread Mani chandra
Ondrej Certik wrote: On Mon, Aug 17, 2009 at 11:06 AM, William Steinwst...@gmail.com wrote: On Mon, Aug 17, 2009 at 6:27 AM, Mani chandramchan...@iitk.ac.in wrote: William Stein wrote: On Mon, Aug 17, 2009 at 2:26 AM, Juan Jose

[sage-support] Re: Memory issues with maxima in SAGE

2009-08-21 Thread Ondrej Certik
On Fri, Aug 21, 2009 at 8:22 AM, Mani chandramchan...@iitk.ac.in wrote: Ondrej Certik wrote: On Mon, Aug 17, 2009 at 11:06 AM, William Steinwst...@gmail.com wrote: On Mon, Aug 17, 2009 at 6:27 AM, Mani chandramchan...@iitk.ac.in wrote: William Stein wrote: On Mon, Aug 17, 2009 at 2:26 AM,

[sage-support] Re: Optional package in Sage : Graphviz

2009-08-21 Thread Jason Grout
Nathann Cohen wrote: Hello As we are dealing in Sage with a patch concerning the plotting of Trees, I wondered why we were not using Graphviz to plot them.. The answer is the usual one : Graphviz is not GPL-Uncompatible... Even though, there is in Sage an optional package for Graphviz

[sage-support] Re: Optional package in Sage : Graphviz

2009-08-21 Thread Robert Bradshaw
On Fri, 21 Aug 2009, Jason Grout wrote: Nathann Cohen wrote: Hello As we are dealing in Sage with a patch concerning the plotting of Trees, I wondered why we were not using Graphviz to plot them.. The answer is the usual one : Graphviz is not GPL-Uncompatible... Even though, there

[sage-support] rename a vertex as a letter

2009-08-21 Thread docfleetwood
Is there a way to 'map' the vertices of a graph as letters A-Z rather than numbers 0-26? AND If so, will other functions or actions on the graph understand the mapping? For example, if I setup an 'interact' where the drop-down choices are numbers will the actions in the 'interact' understand

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread Simon King
On 22 Aug., 00:02, amps arat...@gmail.com wrote: I have a program that outputs a matrix for certain values of n.  for n=5 it works fine but for n=6 it just outputs 29 x 29 dense matrix over Integer Ring how can I force sage to output the actual matrix? Perhaps sage: M =

[sage-support] force sage to print a matrix

2009-08-21 Thread amps
I have a program that outputs a matrix for certain values of n. for n=5 it works fine but for n=6 it just outputs 29 x 29 dense matrix over Integer Ring how can I force sage to output the actual matrix? --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Introduction to Vectors by homerj on sagenb.org

2009-08-21 Thread Jason Grout
Since there's no way for me to tell how to reach homerj to comment on his very, *very* nice worksheet on sagenb.org, I'll just mention here (for him and for others that may benefit) that I made some revisions to his worksheet that take advantage of some of the new things we've added to Sage

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 3:18 PM, Simon King simon.k...@nuigalway.ie wrote: On 22 Aug., 00:02, amps arat...@gmail.com wrote: I have a program that outputs a matrix for certain values of n. for n=5 it works fine but for n=6 it just outputs 29 x 29 dense matrix over Integer Ring how

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread Simon King
On 22 Aug., 00:57, William Stein wst...@gmail.com wrote: On Fri, Aug 21, 2009 at 3:18 PM, Simon King simon.k...@nuigalway.ie wrote: [...]  sage: print M.str() but there might be nicer (and more intuitive!) ways. I think that is the only way.  I can't think of any nicer way.  Any idea what

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread Robert Bradshaw
On Fri, 21 Aug 2009, Simon King wrote: On 22 Aug., 00:57, William Stein wst...@gmail.com wrote: On Fri, Aug 21, 2009 at 3:18 PM, Simon King simon.k...@nuigalway.ie wrote: [...]  sage: print M.str() but there might be nicer (and more intuitive!) ways. I think that is the only way.  I can't

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 5:34 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Fri, 21 Aug 2009, Simon King wrote: On 22 Aug., 00:57, William Stein wst...@gmail.com wrote: On Fri, Aug 21, 2009 at 3:18 PM, Simon King simon.k...@nuigalway.ie wrote: [...] sage: print M.str()

[sage-support] %slide, %latex and matrices

2009-08-21 Thread Elizabeth Yip
Hi I am using the sage 4.1 notebook. When I enter the following into a notebook cell, I get the correct display of the matrix: %latex \left(\begin{array}{r} 1 a a^{2} a^{3} a^{4} \\ 0 1 2 a 3 a^{2} 4 a^{3} \\ 0 0 1 3 a 6 a^{2} \\ 0 0 0 1 4 a \\ 0 0 0 0 1

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread kcrisman
This is not as nice, but I have this problem a lot, and just do sage: M.rows() which at least lets me look at the matrix, if that's all you want. However, the suggestions above are great for a real solution. - kcrisman --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Re: %slide, %latex and matrices

2009-08-21 Thread Elizabeth Yip
I sort of solve my own problem. If I change the line feed '\\' to the tab : \left(\begin{array}{r} 1 \a \a^{2} a^{3} a^{4} 0 1 2 a 3 a^{2} 4 a^{3} 0 0 1 3 a 6 a^{2} 0 0 0 1 4 a 0 0 0 0 1 \end{array}\right) Then both %slide and %latex display the correct matrix. My

[sage-support] Re: force sage to print a matrix

2009-08-21 Thread Jason Grout
Robert Bradshaw wrote: On Fri, 21 Aug 2009, Simon King wrote: On 22 Aug., 00:57, William Stein wst...@gmail.com wrote: On Fri, Aug 21, 2009 at 3:18 PM, Simon King simon.k...@nuigalway.ie wrote: [...] sage: print M.str() but there might be nicer (and more intuitive!) ways. I think that