Changeset eaf8f8 in git for Singular/LIB/dmodapp.lib


Ignore:
Timestamp:
Mar 9, 2009, 7:34:52 PM (15 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b22a72d3cf5f625b056ece9285f0442601763cf0
Parents:
e6d283f58657a6d67f7a592a1e62a50f9464d936
Message:
*levandov: further bugfixes, finer work with varnames, doc enhancements, assume procs etc


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/dmodapp.lib

    re6d283f reaf8f8  
    11//////////////////////////////////////////////////////////////////////////////
    2 version="$Id: dmodapp.lib,v 1.21 2009-03-06 20:32:29 levandov Exp $";
     2version="$Id: dmodapp.lib,v 1.22 2009-03-09 18:34:52 levandov Exp $";
    33category="Noncommutative";
    44info="
     
    15221522    }
    15231523  }
     1524 
    15241525  // 1. create  homogenized Weyl algebra
    15251526  // 1.1 create ordering
     
    15561557  def Dh = nc_algebra(1,@relD);
    15571558  setring Dh; kill @Dh;
    1558   dbprint(ppl,"// computing in ring",DDh);
     1559  dbprint(ppl,"// computing in ring",Dh);
    15591560  // 2. Compute the initial ideal
    15601561  ideal I = imap(save,I);
     
    16531654    u0 = 1:n;
    16541655  }
    1655   if (isCommutative() == 0) { ERROR("basering must be commutative"); }
    16561656  if (char(save) <> 0)      { ERROR("characteristic of basering has to be 0"); }
    16571657  // creating the homogenized extended Weyl algebra
    16581658  list RL = ringlist(save);
     1659  RL = RL[1..4]; // if basering is commutative nc_algebra
    16591660  list C0 = list("C",intvec(0));
    16601661  // 1. get the weighted degree of f
     
    17791780}
    17801781
    1781 static proc dmodappassumeViolation()
     1782proc dmodappassumeViolation()
    17821783{
    17831784  // returns Boolean : yes/no [for assume violation]
    17841785  // char K = 0
    17851786  // no qring
    1786   // input poly/ideal is nonzero ?
    1787   if ( (char(basering) !=0 ) || (nvars(basering) != gkdim(std(0)) ) )
    1788   {
     1787  if (  (size(ideal(basering)) >0) || (char(basering) >0) )
     1788  {
     1789    //    "ERROR: no qring is allowed";
    17891790    return(1);
    17901791  }
Note: See TracChangeset for help on using the changeset viewer.