|
D.5.5.2 sethneringProcedure from library
Example: LIB "hnoether.lib";
// -------- prepare for example ---------
if (defined(hnering))
{
def rette@ring=hnering;
if (nameof(basering)=="hnering")
{
int wechsel=1;
}
else
{
int wechsel;
}
kill hnering;
}
// ------ the example starts here -------
ring r=0,(x,y),ls;
nameof(basering);
→ r
sethnering(hnexpansion(x4-y6)); // Creates hnering and changes to it!
nameof(basering);
→ hnering
// --- restore HNEring if previously defined ---
kill hnering;
if (defined(rette@ring)) {
def hnering=rette@ring;
export hnering;
if (wechsel==1)
{
setring hnering;
}
}
See also: hnexpansion. |
| |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |