Hi!
On 30 Mai, 14:16, simon.k...@uni-jena.de wrote:
...
> sage: R._has_coerce_map_from(R)
>
> ---
> TypeError Traceback (most recent
> call last)
>
> /home/SimonKing/.sage/temp/sage.math.
sure, i think it is a bit weird as well. It certainly has behaviour
that is unexpected. I think this will cause a lot of confusion, so I
think openning a ticket is a good idea.
As for multiplying those two polynomials, it seems that what you have
said works. I will give it a try.
Cheers
On 3
Hi!
A little addendum:
> For a similar reason, neither f nor g are elements of R.
I would agree that it is a little confusing that something is equal to
an element of a polynomial ring but is not an element of that ring, or
in pure form:
sage: R = QQ['x','y']
sage: R1.=QQ[]
sage: R2.=QQ[]
Hi!
On 30 Mai, 12:47, amps wrote:
...
> TypeError: unsupported operand parent(s) for '*': 'Multivariate
> Polynomial Ring in z0 over Rational Field' and 'Multivariate
> Polynomial Ring in z1 over Rational Field'
> sage:
>
>
> Basically, I want to be able
Sorry to reply to myself, here is what I really want to do.
continuing my last post I will put the entire code again).
sage: R=PolynomialRing(QQ,2,'z')
sage: z=R.gens()
sage: x=tuple([z[0]])
sage: p=SFAPower(QQ)
sage: f=p([2,1]).expand(1,alphabet=x)
sage: f
z0^3
sage: f in R
False
sage: f==z[0]^