Changeset 2d3c9b in git for Singular/LIB/primdec.lib


Ignore:
Timestamp:
Jul 28, 1999, 12:21:30 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c73fc6ebe7e6475ab239af57cc95d64e6e835d0e
Parents:
4a9fee955d9f12ad8abf329f28930bcd8ca619bc
Message:
*hannes: added flags


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    r4a9fee r2d3c9b  
    1 // $Id: primdec.lib,v 1.40 1999-07-26 13:37:49 Singular Exp $
     1// $Id: primdec.lib,v 1.41 1999-07-28 10:21:30 Singular Exp $
    22////////////////////////////////////////////////////////////////////////////////
    33// primdec.lib                                                                //
     
    1111////////////////////////////////////////////////////////////////////////////////
    1212
    13 version="$Id: primdec.lib,v 1.40 1999-07-26 13:37:49 Singular Exp $";
     13version="$Id: primdec.lib,v 1.41 1999-07-28 10:21:30 Singular Exp $";
    1414info="
    1515LIBRARY: primdec.lib      PROCEDURES FOR PRIMARY DECOMPOSITION
     
    2020PROCEDURES:
    2121  primdecGTZ(I);    complete primary decomposition via Gianni,Trager,Zacharias
    22   primdecSY(I);     complete primary decomposition via Shimoyama-Yokoyama
     22  primdecSY(I...);  complete primary decomposition via Shimoyama-Yokoyama
    2323  minAssGTZ(I);     the minimal associated primes via Gianni,Trager,Zacharias
    24   minAssChar(I);    the minimal associated primes using characteristic sets
     24  minAssChar(I...); the minimal associated primes using characteristic sets
    2525  testPrimary(L,k); tests the result of the primary decomposition
    2626  radical(I);       computes the radical of the ideal I
     
    28332833         if(il==1)
    28342834         {
    2835 
    2836             return(radI1);
     2835           return(radI1);
    28372836         }
    2838 
    28392837         I2=sat(I,radI1)[1];
    28402838
     
    40244022///////////////////////////////////////////////////////////////////////////////
    40254023
    4026 proc primdecSY(ideal i)
    4027 "USAGE:  primdecSY(i); i ideal
     4024proc primdecSY(ideal i, list #)
     4025"USAGE:  primdecSY(i[,c]); i ideal
     4026         if c=0, the given ordering of the variables is used.
     4027         if c=1, minAssChar tries to use an optimal ordering,
     4028         if c=2, minAssGTZ is used
     4029         if c=3, minAssGTZ and facstd is used
    40284030RETURN:  a list, say pr, of primary ideals and their associated primes
    40294031         pr[i][1], resp. pr[i][2] is the i-th primary resp. prime component
     
    40344036"
    40354037{
    4036    return(prim_dec(i,1));
     4038   if (size(#)==1)
     4039   { return(prim_dec(i,1)); }
     4040   else
     4041   { return(prim_dec(i,#[1])); }
    40374042}
    40384043example
     
    40684073
    40694074///////////////////////////////////////////////////////////////////////////////
    4070 proc minAssChar(ideal i)
    4071 "USAGE:  minAssChar(i); i ideal
     4075proc minAssChar(ideal i, list #)
     4076"USAGE:   minAssChar(i[,c]); i ideal,
     4077         if c=0, the given ordering of the variables is used.
     4078         Otherwise, the system tries to find an optimal ordering,
     4079         which in some cases may considerably speed up the algorithm
    40724080RETURN:  list = the minimal associated prime ideals of i
    40734081NOTE:    implemented for characteristic 0, works also in char k > 0,
     
    40764084"
    40774085{
    4078    return(min_ass_prim_charsets(i,1));
     4086  if (size(#)==1)
     4087  { return(min_ass_prim_charsets(i,#[1])); }
     4088  else
     4089  { return(min_ass_prim_charsets(i,1)); }
    40794090}
    40804091example
Note: See TracChangeset for help on using the changeset viewer.