Singular
https://www.singular.uni-kl.de/forum/

Ring Parameters
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1483
Page 1 of 1

Author:  marcossf [ Tue Dec 27, 2005 2:27 am ]
Post subject:  Ring Parameters

I am writing a library and I need to use parameters in a function, but I can't just define a new ring with the parameters. I need to add the parameters to the basering that I'm working with. I want to know if there is a function that can do this to me, like the function 'extendring', that adds new variables to the ring. Thanks any help.

Author:  hannes [ Tue Jan 10, 2006 5:26 pm ]
Post subject:  Re: Ring parameters

There is no procedure which automatically adds a paramater,
but it is easy to write one via
the ringlist command:
convert the ring into a list
list L=ringlist(r);
modilfy the first entry
and create a ring from the changed list:
def r_with_paramater=ring(L);
The help to ringlist gives examples:
http://www.singular.uni-kl.de/Manual/3-0-1/sing_274.htm

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/