First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

Max Alekseyev gravatar image

The variable in InfinitePolynomialRing does not exist until you "touch" it on way or another. E.g., defining

p = a[1]*a[2]^2 + 0*a[3]

makes the error go away.

click to hide/show revision 2
No.2 Revision

The A variable in InfinitePolynomialRing does not exist until you "touch" it on way or another. E.g., defining

p = a[1]*a[2]^2 + 0*a[3]

makes the error go away.

click to hide/show revision 3
No.3 Revision

A variable in InfinitePolynomialRing object does not exist until you "touch" it on way or another. explicitly introduce it. E.g., defining

p = a[1]*a[2]^2 + 0*a[3]

makes the error go away.

click to hide/show revision 4
No.4 Revision

A variable in InfinitePolynomialRing object does not exist until you explicitly introduce it. E.g., defining

p = a[1]*a[2]^2 + 0*a[3]

makes the error go away.

See also https://ask.sagemath.org/question/53319/