Changeset 8851c2 in git


Ignore:
Timestamp:
Nov 20, 2003, 5:53:59 PM (20 years ago)
Author:
Mathias Schulze <mschulze@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e64f7f773d9285c42692d4556c1bb026fffb6835
Parents:
d4cbc201ea2f57168e3d65b73d658923f16feb42
Message:
*mschulze: bug corrected


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gmspoly.lib

    rd4cbc20 r8851c2  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: gmspoly.lib,v 1.5 2003-06-27 10:43:44 mschulze Exp $";
     2version="$Id: gmspoly.lib,v 1.6 2003-11-20 16:53:59 mschulze Exp $";
    33category="Singularities";
    44
     
    1313PROCEDURES:
    1414  istame(f);  test if the polynomial f is tame
    15   gbasis(f);  a good basis of the Brieskorn lattice of a tame polynomial t
     15  gbasis(f);  a good basis of the Brieskorn lattice of a cohomologically tame f
    1616
    1717SEE ALSO: gmssing_lib
     
    2929static proc mindegree(matrix A)
    3030{
    31   int d=-1;
    32 
    33   int i,j;
    34   for(i=nrows(A);i>=1;i--)
    35   {
    36     for(j=ncols(A);j>=1;j--)
    37     {
    38       if(d==-1||(deg(A[i,j])<d&&deg(A[i,j])>-1))
    39       {
    40         d=deg(A[i,j]);
    41       }
    42     }
     31  int d=0;
     32
     33  while(A/var(1)^(d+1)*var(1)^(d+1)==A)
     34  {
     35    d++;
    4336  }
    4437
     
    4942static proc maxdegree(matrix A)
    5043{
    51   int d=-1;
    52 
    53   int i,j;
    54   for(i=nrows(A);i>=1;i--)
    55   {
    56     for(j=ncols(A);j>=1;j--)
    57     {
    58       if(deg(A[i,j])>d)
    59       {
    60         d=deg(A[i,j]);
    61       }
    62     }
     44  int d=0;
     45  matrix N[nrows(A)][ncols(A)];
     46
     47  while(A/var(1)^(d+1)!=N)
     48  {
     49    d++;
    6350  }
    6451
Note: See TracChangeset for help on using the changeset viewer.