Changeset 29299e in git
- Timestamp:
- Nov 13, 2006, 12:36:31 PM (17 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 11a4417493a03a79effa983f174d085bb0c77f5e
- Parents:
- 7e6727cb6f504e34aa0527cb245dd36801940f69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/ring.lib
r7e6727c r29299e 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: ring.lib,v 1.2 8 2006-11-09 09:00:09Singular Exp $";2 version="$Id: ring.lib,v 1.29 2006-11-13 11:36:31 Singular Exp $"; 3 3 category="General purpose"; 4 4 info=" … … 561 561 562 562 proc ord_test (r) 563 "USAGE: ord_test(r); r ring 563 "USAGE: ord_test(r); r ring/qring 564 564 RETURN: int 1 (resp. -1, resp. 0) if ordering of r is global (resp. local, 565 565 resp. mixed) … … 567 567 " 568 568 { 569 if ( typeof(r) != "ring")569 if ((typeof(r) != "ring") or (typeof(r) != "qring")) 570 570 { 571 571 "// ord_test requires a ring as input"; 572 572 return(); 573 573 } 574 if (attrib(r,"global")==1) { return(1);} 574 575 def BAS = basering; 575 576 setring r;
Note: See TracChangeset
for help on using the changeset viewer.