Home Online Manual
Top
Back: isSubModule
Forward: addvarsTo
FastBack: random_lib
FastForward: Linear algebra
Up: ring_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.8.25 changeordTo

Procedure from library ring.lib (see ring_lib).

Usage:
changeordTo(ring, string s);

Return:
a ring with the oderinging changed to the (simple) ordering s

Example:
 
LIB "ring.lib";
ring r=0,(x,y),lp;
def rr=changeordTo(r,"dp");
rr;
==> //   characteristic : 0
==> //   number of vars : 2
==> //        block   1 : ordering C
==> //        block   2 : ordering dp
==> //                  : names    x y