Changeset f7bdb8 in git for Singular/LIB
- Timestamp:
- Jun 18, 1998, 8:15:20 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 475f8be538e59007739f87b8c7a59570ceda0a84
- Parents:
- f22a086cfc33fa7bf2cfda6b3c231ed4d83a7d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
rf22a08 rf7bdb8 1 // $Id: standard.lib,v 1.2 3 1998-06-18 18:03:19Singular Exp $1 // $Id: standard.lib,v 1.24 1998-06-18 18:15:20 Singular Exp $ 2 2 ////////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: standard.lib,v 1.2 3 1998-06-18 18:03:19Singular Exp $";4 version="$Id: standard.lib,v 1.24 1998-06-18 18:15:20 Singular Exp $"; 5 5 info=" 6 6 LIBRARY: standard.lib PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP … … 460 460 } 461 461 462 proc quotient ( any m1,anym2,list #)462 proc quotient (m1,m2,list #) 463 463 "USAGE: quotient(m1, m2[, n]); m1, m2 two submodules of k^s, 464 464 n (optional) integer (1<= n <=5) … … 469 469 or ((typeof(m2)!="ideal") and (typeof(m2)!="module"))) 470 470 { 471 "USAGE: quot (m1, m2[, n]); m1, m2 two submodules of k^s,";471 "USAGE: quotient(m1, m2[, n]); m1, m2 two submodules of k^s,"; 472 472 " n (optional) integer (1<= n <=5)"; 473 473 "RETURN: the quotient of m1 and m2"; … … 477 477 if (typeof(m1)!=typeof(m2)) 478 478 { 479 return quot(m1,m2);479 return(quot(m1,m2)); 480 480 } 481 481 if (size(#)>0) … … 483 483 if (typeof(#[1])=="int" ) 484 484 { 485 return quot1(m1,m2,#[1]);485 return(quot1(m1,m2,#[1])); 486 486 } 487 487 } 488 488 else 489 489 { 490 return quot1(m1,m2,2);490 return(quot1(m1,m2,2)); 491 491 } 492 492 }
Note: See TracChangeset
for help on using the changeset viewer.