Changeset 0c40ae in git


Ignore:
Timestamp:
Aug 23, 2011, 11:29:47 AM (13 years ago)
Author:
Stefan Steidel <steidel@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
380a9b6e945b3b23b3197f3b6692bf955b0c0301
Parents:
12483db42b3ad1ac5499765c4350a6a67250d9c7
Message:
Procedure mixedTest is not static anymore.

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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/modstd.lib

    r12483d r0c40ae  
    2929////////////////////////////////////////////////////////////////////////////////
    3030
    31 static proc mixedTest()
    32 // decides whether the ordering of the basering is mixed
     31proc mixedTest()
     32"USAGE:  mixedTest();
     33RETURN:  1 if ordering of basering is mixed, 0 else
     34EXAMPLE: example mixedTest(); shows an example
     35"
    3336{
    3437   int i,p,m;
     
    4649   if((p > 0) && (m > 0)) { return(1); }
    4750   return(0);
     51}
     52example
     53{ "EXAMPLE:"; echo = 2;
     54   ring R1 = 0,(x,y,z),dp;
     55   mixedTest();
     56   ring R2 = 31,(x(1..4),y(1..3)),(ds(4),lp(3));
     57   mixedTest();
     58   ring R3 = 181,x(1..9),(dp(5),lp(4));
     59   mixedTest();
    4860}
    4961
     
    6173"USAGE:  isIncluded(I,J); I,J ideals
    6274RETURN:  1 if J includes I,
    63          0 if there is an element f in I which does not reduce to 0 w.r.t. J.
     75@*       0 if there is an element f in I which does not reduce to 0 w.r.t. J.
    6476EXAMPLE: example isIncluded; shows an example
    6577"
     
    255267         lT ideal
    256268NOTE:    - if ho = 1, the polynomials in T are homogeneous, else ho = 0,
    257          - lT is prevalent, i.e. the most appearing leading ideal in T
     269@*       - lT is prevalent, i.e. the most appearing leading ideal in T
    258270EXAMPLE: example deleteUnluckyPrimes; shows an example
    259271"
Note: See TracChangeset for help on using the changeset viewer.