[sage-support] Re: Derivations on polynomial rings

2012-01-29 Thread Simon King
Hi Oliver, On 30 Jan., 01:04, Oliver Block wrote: > Hello, > > I would like to define a function d from polynomial ring to itself (in > the easiest case) that is linear over the base ring That's to say: You don't simply want a function, but you want a morphism of modules over the base ring, isn'

Re: [sage-support] graph.all_simple_paths bug?

2012-01-29 Thread Keshav Kini
I wrote up a trac ticket and made a patch: http://trac.sagemath.org/sage_trac/ticket/12385 With my patch, your code snippets evaluate as follows: sage: Q = DiGraph({1: {2:'a'}, 2: {1: 'b', 3: 'c'}, 3: {2: 'd'}}) sage: Q.all_simple_paths([1], [2]) [[1, 2]] sage: Q.all_simple_paths([2], [1]) [[2

Re: [sage-support] graph.all_simple_paths bug?

2012-01-29 Thread Keshav Kini
What I understand from that sentence in the documentation is that if the starting set and ending set share some vertex, you may get cycles in the output, and each cycles will have the same point at its beginning as at its end - specifically, a point which is in both the starting set and the end

[sage-support] Derivations on polynomial rings

2012-01-29 Thread Oliver Block
Hello, I would like to define a function d from polynomial ring to itself (in the easiest case) that is linear over the base ring and fulfills the Leibniz rule, i.e. for all p,q in the Polynomial ring I want that d(p*q) = d(p)*q + p*d(q). I would like to do this by specifying the image of the gene

[sage-support] Re: sage notebook

2012-01-29 Thread Mike OS
Thanks, Jason. 'Twould be nice to have folders. What sort of coding is involved? We have lots of master's students that need final projects for their degrees. Perhaps I can pass something on the the CS department. Mike On Jan 26, 4:40 am, Jason Grout wrote: > On 1/25/12 11:16 PM, Mike OS wrote:

[sage-support] Re: Groups: right type for cayley_table?

2012-01-29 Thread Mike OS
On Jan 27, 1:24 pm, Jori Mantysalo wrote: > These work: > > SymmetricGroup(2).cayley_table() > KleinFourGroup().cayley_table() > > This does not: > > SymmetricGroup(2).direct_product(SymmetricGroup(2)).cayley_table() > > There must be manual or FAQ about group presentation formats or something l

Re: [sage-support] performance of matrix_from_columns method ...

2012-01-29 Thread Martin Albrecht
On Saturday 28 January 2012, Benjamin Howard wrote: > Hi -- > > I have an application in mind where I desperately > need a faster implementation of the matrix methods: > > matrix_from_columns > matrix_from_rows_and_columns > matrix_from_rows > > I am aware that these will not be as fast as the s

Re: [sage-support] Unable to run Macaulay2 through SAGE

2012-01-29 Thread William Stein
On Friday, January 27, 2012, Fredrik wrote: > I'm trying to use Macaulay2 through Sage. However, I get an error > message. Here's what I type in Sage (notebook interface): > > " > m = macaulay2 > m.eval('2+4') > " > > I get the error message > > " > Traceback (click to the left of this block for t

Re: [sage-support] Groups: right type for cayley_table?

2012-01-29 Thread David Joyner
On Fri, Jan 27, 2012 at 4:24 PM, Jori Mantysalo wrote: > These work: > > SymmetricGroup(2).cayley_table() > KleinFourGroup().cayley_table() > > This does not: > > SymmetricGroup(2).direct_product(SymmetricGroup(2)).cayley_table() SymmetricGroup(2).direct_product(SymmetricGroup(2), False).cayley_t

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-29 Thread LFS
Thanks! Both of these tips are very important to me so extra thanks. Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-support] Groups: right type for cayley_table?

2012-01-29 Thread Jori Mantysalo
These work: SymmetricGroup(2).cayley_table() KleinFourGroup().cayley_table() This does not: SymmetricGroup(2).direct_product(SymmetricGroup(2)).cayley_table() There must be manual or FAQ about group presentation formats or something like it somewhere -- but where? -- Jori Mäntysalo -- To p

[sage-support] Unable to run Macaulay2 through SAGE

2012-01-29 Thread Fredrik
I'm trying to use Macaulay2 through Sage. However, I get an error message. Here's what I type in Sage (notebook interface): " m = macaulay2 m.eval('2+4') " I get the error message " Traceback (click to the left of this block for traceback) ... RuntimeError: Unable to start macaulay2 because the

[sage-support] performance of matrix_from_columns method ...

2012-01-29 Thread Benjamin Howard
Hi -- I have an application in mind where I desperately need a faster implementation of the matrix methods: matrix_from_columns matrix_from_rows_and_columns matrix_from_rows I am aware that these will not be as fast as the submatrix method (for contiguous submatrices) but the above three methods

[sage-support] Re: @interact and precise movement in Slider control

2012-01-29 Thread Socius
On Jan 28, 6:26 pm, Jason Grout wrote: > I should note that the sliders on aleph.sagenb.org allow you to click on > the value and change the number manually, rather than moving the slider. This is interesting, Jason, it is a useful features, apart the constraints. Can I ask if the new framework

[sage-support] Re: @interact and precise movement in Slider control

2012-01-29 Thread Socius
On Jan 28, 6:10 pm, Marshall Hampton wrote: > Sounds like Jason has a good solution for you eventually.  There are > some cruder ways to work around this in the meantime: > > 1) Customize the values in the slider so they are all "nice". > 2) Have a coarse- and fine-tuning slider.  The final value