Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: number of ring variables as a parameter
PostPosted: Mon Dec 22, 2008 5:22 pm 

Joined: Tue Dec 16, 2008 5:41 pm
Posts: 2
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Dec 23, 2008 1:48 am 
Site Admin

Joined: Thu Nov 13, 2008 10:52 am
Posts: 26
Does a declaration of the following form fit your needs?

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


Best regards,
Alexander


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 24, 2008 5:27 pm 
think so. thanks!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:06 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group