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.Sun, 05 Jan 2020 21:21:01 +0100Singular Implementation for Multivariable Polynomial Rings in v7.3https://ask.sagemath.org/question/49382/singular-implementation-for-multivariable-polynomial-rings-in-v73/ Hi all,
I am running SageMath version 7.3, Release Date: 2016-08-04 on a university computer.
When I try to run the code:
S = PolynomialRing(QQ, 5, "x", implementation="singular")
I get in return:
ValueError: The singular implementation is not known for multivariate polynomial rings
However, on my personal laptop, where I run version 8.1, I do not have this error. Is there anyway to fix this on 7.3 without updating, since I do not have administrator permissions. Thank you for your time!BarkSun, 05 Jan 2020 21:21:01 +0100https://ask.sagemath.org/question/49382/Creating a polynomial ring where the variables are code generatedhttps://ask.sagemath.org/question/9504/creating-a-polynomial-ring-where-the-variables-are-code-generated/Hi, The standard way to create a multivariate polynomial ring over `ZZ` is as follows.
sage: R.<x,y> = PolynomialRing(ZZ)
I want to create a polynomial ring over `ZZ` where the variables are generated by code.
sage: n = 5
sage: lstx = list(var('x_%d' % i) for i in range(n))
sage: lstx
[x_0, x_1, x_2, x_3, x_4]
My attempts at creating the desired ring whose variables are the elements of `lstx` result in error. Any help will be appreciated.Iftikhar BurhanuddinTue, 06 Nov 2012 09:14:46 +0100https://ask.sagemath.org/question/9504/