ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 24 Apr 2021 20:11:27 +0200Call polynomial ring variables by indexhttps://ask.sagemath.org/question/56797/call-polynomial-ring-variables-by-index/In my study I have to work with something like `BooleanPolynomialRing(... 'x', 10)`.
After that I can create function in the form `x1 + x1*x3 + ...`.
However I would like to create functions in more generic form like
`x[1] + x[2]*x[3]` where `x[1]` is equivalent for `x1`, etc.
The final goal is to be able to construct functions programmatically
combining indexed expressions like `x[i] + x[j]` etc.vet99Sat, 24 Apr 2021 20:11:27 +0200https://ask.sagemath.org/question/56797/