Changeset 1f9a84 in git for Singular/LIB/dmodapp.lib


Ignore:
Timestamp:
May 5, 2011, 2:19:42 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
750e704356a16e0d46bd540f5fe07a831a40cded
Parents:
d44974deb309558594f4d26a7d11c490304c77cf
Message:
more int division from the manual

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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/dmodapp.lib

    rd44974d r1f9a84  
    210210  // wrong sequence of vars
    211211  int i,n;
    212   n = nvars(basering)/2;
     212  n = nvars(basering) div 2;
    213213  for (i=1; i<=n; i++)
    214214  {
     
    920920  setring @R2;
    921921  // now supply with Weyl algebra relations
    922   int N = nvars(@R2)/2;
     922  int N = nvars(@R2) div 2;
    923923  matrix @D[2*N][2*N];
    924924  for(i=1; i<=N; i++)
     
    12591259    def @R4@ = ring(L);
    12601260    setring @R4@;
    1261     int N = Nnew/2;
     1261    int N = Nnew div 2;
    12621262    matrix @D[Nnew][Nnew];
    12631263    for (i=1; i<=N; i++)
     
    15701570  int ppl = printlevel - voice +2;
    15711571  def save = basering;
    1572   int n = nvars(save)/2;
     1572  int n = nvars(save) div 2;
    15731573  int whichengine = 0;           // default
    15741574  int methodord   = 0;           // default
     
    19921992  int ppl = printlevel;
    19931993  int i,j,k;
    1994   int n = nvars(basering)/2;
     1994  int n = nvars(basering) div 2;
    19951995  if (w == 0:size(w))
    19961996  {
     
    21222122// returns ring, which contains module "str"
    21232123{
    2124   int n = nvars(basering)/2;
     2124  int n = nvars(basering) div 2;
    21252125  int i,j;
    21262126  def save = basering;
     
    23792379    }
    23802380  }
    2381   int n = nvars(basering)/2;
     2381  int n = nvars(basering) div 2;
    23822382  int i;
    23832383  if(v <> 0:size(v))
     
    24482448    }
    24492449  }
    2450   int n = nvars(basering)/2;
     2450  int n = nvars(basering) div 2;
    24512451  int i;
    24522452  if(v <> 0:size(v))
     
    25512551  int ppl = printlevel;
    25522552  int i;
    2553   int n = nvars(basering)/2;
     2553  int n = nvars(basering) div 2;
    25542554  intvec v;
    25552555  for (i=1; i<=n; i++)
     
    26902690"
    26912691{
    2692   intvec w = 1:(nvars(basering)/2);
     2692  intvec w = 1:(nvars(basering) div 2);
    26932693  int l0,l0set,Gset;
    26942694  ideal G;
     
    27342734  int ppl = printlevel;
    27352735  int i,j;
    2736   int n = nvars(basering)/2;
     2736  int n = nvars(basering) div 2;
    27372737  intvec v;
    27382738  for (i=1; i<=n; i++)
     
    30503050  int ppl = printlevel - voice + 2;
    30513051  def save = basering;
    3052   int n = nvars(save)/2;
     3052  int n = nvars(save) div 2;
    30533053  intvec u = 0:n;
    30543054  intvec v = 1:n;
Note: See TracChangeset for help on using the changeset viewer.