Changeset db347cb in git for Singular/LIB/algebra.lib


Ignore:
Timestamp:
Oct 6, 2012, 1:02:39 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
95197e27d1277756b09bcdadc0b4e418cd280274
Parents:
20c54056198f825ef62888512342886cf96c82a6
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-10-06 13:02:39+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-10-06 13:03:40+02:00
Message:
fix from master: exceptional cases (algebra.lib), rename sum (modstd.lib)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/algebra.lib

    r20c540 rdb347cb  
    33//new proc  nonZeroEntry(id), used to fix a bug in proc finitenessTest
    44///////////////////////////////////////////////////////////////////////////////
    5 version="$Id$";
     5version="$Id: algebra.lib 14661 2012-03-05 11:00:14Z motsak $";
    66category="Commutative Algebra";
    77info="
     
    329329@end format
    330330NOTE:    Three different algorithms are used depending on c = 1,2,3.
    331          If c is not given or c=0, a heuristically best method is choosen.
     331         If c is not given or c=0, a heuristically best method is chosen.
    332332         The basering may be a quotient ring.
    333333         To access to the ring l[2] and see ker you must give the ring a name,
     
    532532@end format
    533533NOTE:    Three differnt algorithms are used depending on c = 1,2,3.
    534          If c is not given or c=0, a heuristically best method is choosen.
     534         If c is not given or c=0, a heuristically best method is chosen.
    535535         The basering may be a quotient ring. However, if the preimage ring is
    536536         a quotient ring, say pr = P/I, consider phi as a map from P and then
     
    799799"
    800800{
    801    if ( deg(i[1]) <= 0)
    802    {
    803      list l = ideal(0),i;
     801   i=simplify(i,2);
     802   if ( i== 0)
     803   {
     804     list l = maxideal(1),maxideal(1);
    804805     return( l );
    805806   }
     
    821822   i = j[2];
    822823   int d = dim(j[1]);
    823    if ( d == 0)
     824   if ( d <= 0)
    824825   {
    825826     setring r;
    826      list l = ideal(0),maxideal(1);
     827     list l = maxideal(1),ideal(0);
    827828     return( l );
    828829   }
Note: See TracChangeset for help on using the changeset viewer.