Changeset 360d44 in git


Ignore:
Timestamp:
Apr 9, 2009, 2:18:34 PM (15 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
790b5002c8ae57093ea5a7bcd5a53da89268ea16
Parents:
d4154095eaa4bca4de062c4a2eb0fc274b3d1734
Message:
*** empty log message ***


git-svn-id: file:///usr/local/Singular/svn/trunk@11662 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/nctools.lib

    rd41540 r360d44  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: nctools.lib,v 1.44 2009-04-08 17:13:02 motsak Exp $";
     2version="$Id: nctools.lib,v 1.45 2009-04-09 12:18:34 seelisch Exp $";
    33category="Noncommutative";
    44info="
     
    4949"USAGE:   Gweights(r); r a ring or a square matrix
    5050RETURN:   intvec
    51 PURPOSE: compute the weight vector for the following G-algebra:
    52 @*       for r itself, if it is of the type ring,
    53 @*       or for a G-algebra, defined by the square polynomial matrix r
    54 THEORY:   @code{Gweights} returns a vector, which must be used to redefine the G-algebra. If the input is a matrix and the output is the zero vector then there is not a G-algebra structure associated to these relations with respect to the given variables. Another possibility is to use @code{weightedRing} to obtain directly the G-algebra with the new weighted ordering.
     51PURPOSE: compute an appropriate weight int vector for a G-algebra, i.e., such that
     52\foral\;i<j\;\;lm_w(d_{ij}) <_w x_i x_j.
     53@*       the polynomials d_{ij} are taken from r itself, if it is of the type ring
     54@*       or defined by the given square polynomial matrix
     55THEORY:   @code{Gweights} returns an integer vector, whose weighting should be used to redefine the G-algebra in order
     56to get the same non-commutative structure w.r.t. a weighted ordering. If the input is a matrix and the output is the zero
     57vector then there is not a G-algebra structure associated to these relations with respect to the given variables.
     58@*Another possibility is to use @code{weightedRing} to obtain directly a G-algebra with the new appropriate (weighted) ordering.
    5559EXAMPLE: example Gweights; shows examples
    5660SEE ALSO: weightedRing
     
    134138"USAGE:   weightedRing(r); r a ring
    135139RETURN:  ring
    136 PURPOSE:  equip the variables of a ring with such weights,that the relations of new ring (with weighted variables) satisfies the ordering condition for G-algebras
     140PURPOSE:  equip the variables of the given ring with weights such that the relations of new ring (with weighted variables) satisfies the ordering condition for G-algebras:
     141e.g. \forall\;i<j\;\;lm_w(d_{ij})<_w x_i x_j.
    137142NOTE:    activate this ring with the \"setring\" command
    138143EXAMPLE: example weightedRing; shows examples
     
    462467"USAGE:   isCentral(p); p poly
    463468RETURN:  int, 1 if p commutes with all variables and 0 otherwise
    464 PURPOSE: check whether p is central in a basering (that is, commutes with every generator of a ring)
     469PURPOSE: check whether p is central in a basering (that is, commutes with every generator of the ring)
    465470NOTE: if @code{printlevel} > 0, the procedure displays intermediate information (by default, @code{printlevel}=0 )
    466471EXAMPLE: example isCentral; shows examples
     
    478483      if ( (size(#) >0 ) || (printlevel>0) )
    479484      {
    480         "Noncentral at:", var(in);
     485        "Non-central at:", var(in);
    481486      }
    482487      flag = 0;
     
    609614///////////////////////////////////////////////////////////////////////////////
    610615proc Weyl(list #)
    611 "USAGE:   Weyl([p]); p an optional integer
     616"USAGE:   Weyl()
    612617RETURN:  ring
    613 PURPOSE: create a Weyl algebra structure from the basering
    614 NOTE: suppose the number of variables of a basering is 2k.
    615 (if this number is odd, an error message will be returned)
     618PURPOSE: create a Weyl algebra structure on the basering
     619NOTE: Activate this ring using the command @code{setring}.
     620@*Assume the number of variables of a basering is 2k.
     621(if the number of variables is odd, an error message will be returned)
    616622@*    by default, the procedure treats first k variables as coordinates x_i and the last k as differentials d_i
    617 @*    if nonzero p is given, the procedure treats 2k variables of a basering as k pairs (x_i,d_i), i.e. variables with odd numbers are treated as coordinates and with even numbers as differentials
     623@*    if a non-zero optional argument is given, the procedure treats 2k variables of a basering as k pairs (x_i,d_i), i.e. variables with odd numbers are treated as coordinates and with even numbers as differentials
    618624SEE ALSO: makeWeyl
    619625EXAMPLE: example Weyl; shows examples
     
    678684"USAGE:  makeHeisenberg(n, [p,d]); int n (setting 2n+1 variables), optional int p (field characteristic), optional int d (power of h in the commutator)
    679685RETURN: ring
    680 PURPOSE: create an n-th Heisenberg algebra in the variables x(1),y(1),...,x(n),y(n),h
     686PURPOSE: create the n-th Heisenberg algebra in the variables x(1),y(1),...,x(n),y(n),h over the rationals Q or F_p with the relations
     687\forall\;i\in\{1,2,\ldots,n\}\;\;y(j)x(i) = x(i)y(j)+h^d.
    681688SEE ALSO: makeWeyl
    682 NOTE: activate this ring with the \"setring\" command
     689NOTE: activate this ring with the @code{setring} command
     690@*       If p is not prime, the next larger prime number will be used.
    683691EXAMPLE: example makeHeisenberg; shows examples
    684692"
     
    720728
    721729///////////////////////////////////////////////////////////////////////////////
    722 proc superCommutative(list #)
    723 "USAGE:   superCommutative([b,[e, [Q, [flag]]]]);
     730proc SuperCommutative(list #)
     731"USAGE:   SuperCommutative([b,[e, [Q, [flag]]]]);
    724732RETURN:  qring
    725 PURPOSE:  create the super-commutative algebra (as a GR-algebra) 'over' a basering,
     733PURPOSE:  create a super-commutative algebra (as a GR-algebra) over a basering,
    726734NOTE: activate this qring with the \"setring\" command.
    727 NOTE: if b==e then the resulting ring is commutative unles 'flag' is given and non-zero.
     735NOTE: if b==e then the resulting ring is commutative unless 'flag' is given and non-zero.
     736@* By default, @code{b=1, e=nvars(basering), Q=0}, and @code{flag=0}.
    728737THEORY: given a basering, this procedure introduces the anticommutative relations x(j)x(i)=-x(i)x(j) for all e>=j>i>=b,
    729738@* moreover, creates a factor algebra modulo the two-sided ideal, generated by x(b)^2, ..., x(e)^2[ + Q]
     
    738747  if ( rname == "basering") // i.e. no ring has been set yet
    739748  {
    740     ERROR("You have to call the procedure from a ring");
     749    ERROR("You have to call the procedure from the ring");
    741750    return();
    742751  }
     
    10741083RETURN:  int
    10751084PURPOSE:  returns the number of the first alternating variable of basering
    1076 NOTE:  basering should be a super-commutative algebra!
     1085NOTE:  basering should be a super-commutative algebra with at most one block of anti-commutative variables
     1086@* For commutative rings, @code{nvars(basering)+1} will be returned.
    10771087EXAMPLE: example AltVarStart; shows examples
    10781088"
     
    11021112RETURN:  int
    11031113PURPOSE:  returns the number of the last alternating variable of basering
    1104 NOTE:  basering should be a super-commutative algebra!
     1114NOTE:  basering should be a super-commutative algebra with at most one block of anti-commutative variables
     1115@* returns -1 for commutative rings
    11051116EXAMPLE: example AltVarEnd; shows examples
    11061117"
     
    12501261"USAGE:  makeWeyl(n,[p]); n an integer, n>0; p an optional integer (field characteristic)
    12511262RETURN:  ring
    1252 PURPOSE: create an n-th Weyl algebra
     1263PURPOSE: create the n-th Weyl algebra over the rationals Q or F_p
    12531264NOTE:    activate this ring with the \"setring\" command.
    12541265@*       The presentation of an n-th Weyl algebra is classical: D(i)x(i)=x(i)D(i)+1,
    12551266@*       where x(i) correspond to coordinates and D(i) to partial differentiations, i=1,...,n.
     1267@*       If p is not prime, the next larger prime number will be used.
    12561268SEE ALSO: Weyl
    12571269EXAMPLE: example makeWeyl; shows examples
Note: See TracChangeset for help on using the changeset viewer.