Changeset a9ca4a in git
- Timestamp:
- Jul 10, 2009, 8:52:05 PM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- dd2b206f8cf574f337baefb7d3cec53f05bb04fd
- Parents:
- d5564f83d8163ea5c4d82d1f1fbef38700d668e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/general.lib
rd5564f8 ra9ca4a 3 3 //eric, added absValue 11.04.2002 4 4 /////////////////////////////////////////////////////////////////////////////// 5 version="$Id: general.lib,v 1.6 2 2009-04-15 11:46:39 SingularExp $";5 version="$Id: general.lib,v 1.63 2009-07-10 18:52:05 motsak Exp $"; 6 6 category="General purpose"; 7 7 info=" … … 765 765 if ( typeof(#[1])=="string" ) 766 766 { 767 if( typeof(id)=="matrix" ) 768 { 769 module ID = lead(module(id)); 770 } else 771 { 772 def ID = lead(id); 773 } 767 774 execute("ring r1 =("+charstr(P)+"),("+varstr(P)+"),("+#[1]+");"); 768 def i = imap(P, id);775 def i = imap(P,ID); 769 776 v = sortvec(i); 770 777 setring P;
Note: See TracChangeset
for help on using the changeset viewer.