[sage-support] Re: Incorrect degree on polynomial after ring change

2011-06-06 Thread Jeff Stroomer
Simon, You're right, and you pointed the way to an easy solution. Thanks for the help. Jeff On Jun 5, 11:46 pm, Simon King wrote: > Hi Jeff, > > On 6 Jun., 04:33, Jeff Stroomer wrote: > > >     M = Matrix([ > >       [ 1,  0,  0,  0], > >       [ 0,  1,

[sage-support] Incorrect degree on polynomial after ring change

2011-06-05 Thread Jeff Stroomer
;ve seen this in sage-4.6.2, and in sage-4.7. If it makes a difference, I've applied patch trac_11316 to each. Thanks for the help, Jeff Stroomer -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

[sage-support] Re: Problem extracting matrix from term order

2011-06-05 Thread Jeff Stroomer
Everyone, Many apologies, false alarm. This problem does indeed exist in Sage 4.7, but is fixed by patch trac_11316. I assumed this patch was part of 4.7, but apparently it's not. Jeff On Jun 5, 12:25 pm, Jeff Stroomer wrote: > I installed sage 4.7 a moment ago, and am runnin

[sage-support] Problem extracting matrix from term order

2011-06-05 Thread Jeff Stroomer
raise ValueError, "Invalid matrix constructor. Type matrix? for help" ValueError: Invalid matrix constructor. Type matrix? for help Thanks for the help, Jeff Stroomer -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: Need arbitrary Singular term orders

2011-05-21 Thread Jeff Stroomer
Martin, Kwankyu, Victory! Using Martin's instructions, I was able to apply the patch to sage 4.6.2, and I'm now getting the right answers when my term order matrix contains negative values. Thanks so much for all your help. Jeff -- To post to this group, send email to sage-support@googlegroup

[sage-support] Re: Need arbitrary Singular term orders

2011-05-20 Thread Jeff Stroomer
Kwankyu, Thanks for the fix. I tried to apply the patch against a clean copy of Sage-4.6.2, but ran into the following: sage: hg_sage.patch('trac_11316.patch') cd "/Applications/sage/devel/sage" && hg status cd "/Applications/sage/devel/sage" && hg status cd "/Applications/sage/devel/sage" && h

[sage-support] Re: Need arbitrary Singular term orders

2011-05-19 Thread Jeff Stroomer
Martin, > The patch by Kwankyu Lee seems to allow that, i.e. you can give a Singular > string an pass force=True, which *should* pass it through to Singular. Sorry, I never before knew that sage has a patching mechanism. I did give it a try, and verified that the patch was indeed installed and r

[sage-support] Re: Need arbitrary Singular term orders

2011-05-18 Thread Jeff Stroomer
he Sage community have invested in this tool. A lot of my research has come out of what I've been able to write in Sage. Jeff Stroomer -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@google

[sage-support] Need arbitrary Singular term orders

2011-05-16 Thread Jeff Stroomer
test.The alternative for me is to code directly in Singular, or figure out how to hack around the limitation in term_order.py. Thanks in advance, Jeff Stroomer -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsu

[sage-support] Re: Using CRT to speed up calculations over QQ

2010-02-21 Thread Jeff Stroomer
ation cheaply. Jeff On Feb 21, 3:05 pm, Burcin Erocal wrote: > Hi Jeff, > > On Sun, 21 Feb 2010 13:28:09 -0800 (PST) > > Jeff Stroomer wrote: > > Sage Folks, > > > I am working on a problem that requires me to generate a large matrix > > over QQ, and then calcu

[sage-support] Using CRT to speed up calculations over QQ

2010-02-21 Thread Jeff Stroomer
place, or is it really not there? Also, is it reasonable for me to think this is likely to speed up the calculations? Thanks for the help, Jeff Stroomer -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-suppor

[sage-support] Re: Counting operations in Sage

2010-02-15 Thread Jeff Stroomer
uce(), but use the normal multiplication and addition operations on polynomials? Jeff On Feb 15, 3:24 am, Martin Albrecht wrote: > On Monday 15 February 2010, William Stein wrote: > > > > > On Sun, Feb 14, 2010 at 8:49 PM, Jeff Stroomer > wrote: > > > William,

[sage-support] Re: Counting operations in Sage

2010-02-14 Thread Jeff Stroomer
William, I used GF(101), GF(1009), and GF(199). Jeff On Feb 14, 5:21 pm, William Stein wrote: > On Sun, Feb 14, 2010 at 3:50 PM, Jeff Stroomer wrote: > > Everyone, > > > I'm wondering if there's an easy way to count the number of operations > > perform

[sage-support] Re: Counting operations in Sage

2010-02-14 Thread Jeff Stroomer
William, I used GF(101), GF(1009), and GF(199). Jeff On Feb 14, 5:21 pm, William Stein wrote: > On Sun, Feb 14, 2010 at 3:50 PM, Jeff Stroomer wrote: > > Everyone, > > > I'm wondering if there's an easy way to count the number of operations > > perform

[sage-support] Counting operations in Sage

2010-02-14 Thread Jeff Stroomer
ay. Thanks in advance for the help, Jeff Stroomer -- 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/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: bug in Sage calculation of variety?

2010-01-18 Thread Jeff Stroomer
Core 2 Duo. Jeff On Jan 18, 1:47 am, William Stein wrote: > On Mon, Jan 18, 2010 at 12:32 AM, Minh Nguyen wrote: > > Hi Jeff, > > > On Mon, Jan 18, 2010 at 3:27 PM, Jeff Stroomer > > wrote: > > > > > >> #! /usr/bin/env sage > > >

[sage-support] bug in Sage calculation of variety?

2010-01-17 Thread Jeff Stroomer
advance for helping me with this - and if I'm doing something wrong, please let me know. Jeff Stroomer ___ #! /usr/bin/env sage import sys, os from sage.all import * R = PolynomialRing(QQ, 4, names = 'u,z,y,x', ord

[sage-support] how to avoid needless "very slow toy implementation"?

2009-12-26 Thread Jeff Stroomer
ms if possible. So is there a better way for me to handle the ring change? Thanks in advance for the help, Jeff Stroomer --- #! /usr/bin/env sage import sys, os from sage.all import * R = PolynomialRing(QQ, 3, nam