How to dynamically pass multivariables while constructing a IntegerModRing?
I want to construct variables from an array of strings and then pass to IntegerModRing
Currently I am hardcoding the variables like below
R.<f1c1,f1c2,f2c1> = IntegerModRing(3^3)[]
R.<f1c1,f1c2,f1c3,f2c1,f3c1> = IntegerModRing(3^4)[]
R.<f1c1,f1c2,f1c3,f1c4,f2c1,f2c2,f3c1,f4c1>
= IntegerModRing(3^5)[]
so on.... 3^6 , 3^7...
I tried like below , but not working for me
xs = ['f1c1','f1c2','f1c3','f1c4','f1c5','f1c6','f2c1','f2c2','f2c3','f3c1','f3c2','f4c1','f5c1','f6c1']
R = IntegerModRing(3^7,names=xs)[]
I want to construct variables from an array of strings and then pass to IntegerModRing
Are we supposed to guess the relationship you with to establish between the ring an the number and nams of the variables ?
You must be kidding...
I want to construct variables from an array of strings and then pass to IntegerModRing