[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-20 Thread BFJ
Hi Mike, That makes sense. Thanks. I think I've managed to understand something small about how this kind of interface works in Sage. Overall I'm very impressed how easy it is to do things with symmetric poly's in Sage. It kills Maple :) Thanks, -BFJ On Jan 20, 5:25 pm, "Mike Hansen" <[EMAIL P

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-20 Thread Mike Hansen
Hello, It turns out that symmetrica internal representation of the result has three variables (although the last one isn't used). The wrappers for symmetrica live under sage/libs/symmetrica . I've made this http://trac.sagemath.org/sage_trac/ticket/1873 and posted a patch there. The solution w

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-20 Thread BFJ
After looking into this a little bit, and getting my hands dirty looking through the code, I've tracked the problem to the following example. The expand() method in SymmetricFunctionAlgebraElement_elementary calls symmetrica.compute_elmsym_with_alphabet([3],3,'x') and it seems to me that the retur

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-19 Thread BFJ
Hi, I'm using Sage 2.10 now. Expansion for elements in SFAElementary works great now, but there is another problem: the expansion lies in the wrong ring. sage: e=SFAElementary(QQ) sage: f=e([2]).expand(2) sage: f x0*x1 sage: f.parent() Multivariate Polynomial Ring in x0, x1, x2 over Rational Fie

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-17 Thread William Stein
On Jan 17, 2008 10:44 AM, BFJ <[EMAIL PROTECTED]> wrote: > > Excellent, Thanks. As for my other question, the one about where to > report things, whether to file bug reports, etc.., what is best? As > I'm working on a Sage project related to my own research I'm finding > occasional problems. Shoul

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-17 Thread BFJ
Excellent, Thanks. As for my other question, the one about where to report things, whether to file bug reports, etc.., what is best? As I'm working on a Sage project related to my own research I'm finding occasional problems. Should I post them here or try to do something more official like using

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-16 Thread mabshoff
On Jan 16, 10:30 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 16, 10:23 pm, BFJ <[EMAIL PROTECTED]> wrote: > > > Hi, > > > First of all, I don't know whether to post about this here, or file a > > bug report, or something else. I'm new to community developed > > software. Let me

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-16 Thread Mike Hansen
Hello, It was an "on purpose" fix :) I've added another doctest at http://sagetrac.org/sage_trac/ticket/1797 . --Mike On Jan 16, 2008 1:30 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Jan 16, 10:23 pm, BFJ <[EMAIL PROTECTED]> wrote: > > Hi, > > > > First of all, I don't know whether to p

[sage-support] Re: Elementary symmetric function expansion (bug?)

2008-01-16 Thread mabshoff
On Jan 16, 10:23 pm, BFJ <[EMAIL PROTECTED]> wrote: > Hi, > > First of all, I don't know whether to post about this here, or file a > bug report, or something else. I'm new to community developed > software. Let me know if this isn't the right place to report the > following. > > I'm using sage