Changeset 9fcd0c in git
- Timestamp:
- Jul 20, 2006, 5:35:51 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7df1eb24fe7d630917b0c962ecb1138182fa10e0
- Parents:
- f11ebbbd9cb2500775acb3098085c5fffe4b4110
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/ring.lib
rf11ebbb r9fcd0c 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: ring.lib,v 1.2 6 2005-05-18 18:07:51 levandovExp $";2 version="$Id: ring.lib,v 1.27 2006-07-20 15:35:51 Singular Exp $"; 3 3 category="General purpose"; 4 4 info=" … … 258 258 259 259 proc extendring (int n, string va, string o, list #) 260 "USAGE: extendring(n,va,o[ iv,i,r]); va,o=strings, n,i=integers, r=ring,260 "USAGE: extendring(n,va,o[,iv,i,r]); va,o=strings, n,i=integers, r=ring, 261 261 iv=intvec of positive integers or iv=0 262 262 RETURN: ring R, which extends the ring r by adding n new variables in front … … 292 292 This proc uses 'execute' or calls a procedure using 'execute'. 293 293 If you use it in your own proc, it may be advisable to let the local 294 names of your proc start with a @ (see the file HelpForProc)294 names of your proc start with a @ 295 295 EXAMPLE: example extendring; shows an example 296 296 " … … 418 418 CREATE: fetch all objects of ring R (of type poly/ideal/vector/module/number/ 419 419 matrix) into the basering. 420 If no 3rd argument is present, the names are the same as in R. If,421 say, f is a poly in R and the 3rd argument is the string \"R\", then f420 If no 2nd argument is present, the names are the same as in R. If, 421 say, f is a poly in R and the 2nd argument is the string \"R\", then f 422 422 is maped to f_R etc. 423 423 RETURN: no return value 424 424 NOTE: As fetch, this procedure maps the 1st, 2nd, ... variable of R to the 425 425 1st, 2nd, ... variable of the basering. 426 The 3rd argument is useful in order to avoid conflicts of names, the426 The 2nd argument is useful in order to avoid conflicts of names, the 427 427 empty string is allowed 428 428 CAUTION: fetchall does not work inside a procedure. 429 429 It does not work if R contains a map. 430 SEE ALSO: imapall 430 431 EXAMPLE: example fetchall; shows an example 431 432 " … … 463 464 CREATE: map all objects of ring R (of type poly/ideal/vector/module/number/ 464 465 matrix) into the basering, by applying imap to all objects of R. 465 If no 3rd argument is present, the names are the same as in R. If,466 If no 2nd argument is present, the names are the same as in R. If, 466 467 say, f is a poly in R and the 3rd argument is the string \"R\", then f 467 468 is maped to f_R etc. … … 469 470 NOTE: As imap, this procedure maps the variables of R to the variables with 470 471 the same name in the basering, the other variables are maped to 0. 471 The 3rd argument is useful in order to avoid conflicts of names, the472 The 2nd argument is useful in order to avoid conflicts of names, the 472 473 empty string is allowed 473 474 CAUTION: imapall does not work inside a procedure 474 475 It does not work if R contains a map 476 SEE ALSO: fetchall 475 477 EXAMPLE: example imapall; shows an example 476 478 " … … 597 599 598 600 proc ringtensor (list #) 599 "USAGE: ringtensor(r1,r2,...); s=string,r1,r2,...=rings601 "USAGE: ringtensor(r1,r2,...); r1,r2,...=rings 600 602 RETURN: ring R whose variables are the variables from all rings r1,r2,... 601 603 and whose monomial ordering is the block (product) ordering of the … … 759 761 /////////////////////////////////////////////////////////////////////////////// 760 762 proc preimageLoc(string R_name,string phi_name,string Q_name ) 761 " SYNTAX: @code{preimageLoc (} ring_name, map_name, ideal_name @code{)}763 "USAGE: preimageLoc ( ring_name, map_name, ideal_name ); 762 764 all input parameters of type string 763 TYPE:ideal765 RETURN: ideal 764 766 PURPOSE: computes the preimage of an ideal under a given map for non-global 765 767 orderings.
Note: See TracChangeset
for help on using the changeset viewer.