Ignore:
Timestamp:
Apr 29, 2015, 6:38:52 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
Children:
abc5f14430fc46985a74afdd4a426157fa69263e
Parents:
e5e219020eee81e7dc5562da6a0aa0a4a1e2b3e3
Message:
Changes in documentation and in grtwists
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gradedModules.lib

    re5e219 rbf75121  
    2626    grdeg(M)        compute graded degrees of columns of the map M
    2727    grview(M)       view the graded structure of map M
    28     grshift(M,d)    shift graded module coker(M) by d
     28    grshift(M,d)    shift graded module coker(M) by +d
    2929    grzero()        presentation of S(0)^1
    30     grtwist(r,d)    presentation of S(-d)^r
    31     grtwists(v)     presentation of S(-v[1])+...+S(-v[size(v)])
     30    grtwist(r,d)    presentation of S(d)^r
     31    grtwists(v)     presentation of S(v[1])+...+S(v[size(v)])
    3232    grsum(M,N)      direct sum of two graded modules coker(M) + coker(N)
    3333    grpower(M,p)    direct p-th power of graded module coker(M)
     
    865865"USAGE:  grshift(A, d), graded objects A, int d
    866866RETURN:  shifted graded object
    867 PURPOSE: shift the grading on A by d: A_i -> A_{i+/-d}?
     867PURPOSE: shift the grading on A by d: A(i) -> A(i+d)
    868868EXAMPLE: example grshift; shows an example
    869869"
     
    11401140  int l = size(v);
    11411141  module Z; Z[l] = [0];
    1142   Z = grobj(Z, v, v); // will set the rank as well
     1142  Z = grobj(Z, -v, -v); // will set the rank as well
    11431143  return(Z);
    11441144}
     
    11701170
    11711171  // zero syzygy?
    1172   return( grtwists(v) ); // ???
     1172  return( grtwists(-v) ); // ???
    11731173}
    11741174example
     
    12491249  for ( i = 1; i <= l; i++ )
    12501250  {
    1251     if( size(r[i]) == 0 ){ r[i] = grtwists(v); i++; break;   }
     1251    if( size(r[i]) == 0 ){ r[i] = grtwists(-v); i++; break;   }
    12521252
    12531253    r[i] = grobj(r[i], v); v = grdeg(r[i]);
Note: See TracChangeset for help on using the changeset viewer.