On Feb 19, 6:38 am, ObsessiveMathsFreak
wrote:
> Basically, I want to restrict the variables of a multivariate
> polynomial to a certain set of symbols.
>
> B.variables() should return
> [x,y]
> instead of
> [a,x,y]
>
> How can this be done.
Maybe I misunderstand you, but this approach works fine
On Sun, Feb 19, 2012 at 4:38 AM, ObsessiveMathsFreak
wrote:
> Basically, I want to restrict the variables of a multivariate
> polynomial to a certain set of symbols.
>
> B.variables() should return
> [x,y]
> instead of
> [a,x,y]
>
> How can this be done.
I have a patch at http://trac.sagemath.org
Basically, I want to restrict the variables of a multivariate
polynomial to a certain set of symbols.
B.variables() should return
[x,y]
instead of
[a,x,y]
How can this be done.
(Incidentally, the Sage polynomial/ring documentation is absolute and
utter bedlam. Is it not possible for ordinary mor
Is there any way to get this code to deal with non integer
coefficients. Specifically, can it return coefficients that are
symbolic.
For example I would like
f(x,y)=a*x^10*y+3*x
B=f(x,y).polynomial(SR)
print B.coefficients()
to return
[a,3]
but instead it returns
[1,3]
Is it possible to have
Are you certain that these two functions return elements in the same
order?
On Feb 8, 11:40 pm, Mike Hansen wrote:
> On Wed, Feb 8, 2012 at 3:29 PM, ObsessiveMathsFreak
>
> wrote:
> > Is there no way of getting sage to give back the degree's of the
> > corresponding multivariate polynomials as w