Read-only forum archive

number of ring variables as a parameter

number of ring variables as a parameter

ashakeel · Mon Dec 22, 2008 5:22 pm

I have to study a ring as I change the no. of ring variables. Can this be parametrized? Can one declare an array with the ring variables as array elements or something?
thanks

number of ring variables as a parameter

dreyer · Tue Dec 23, 2008 1:48 am

Does a declaration of the following form fit your needs?

Code:
int n=17;
ring r=0,(x(0..n)),dp;


Best regards,
Alexander

number of ring variables as a parameter

Guest · Wed Dec 24, 2008 5:27 pm

think so. thanks!