Changeset cf29809 in git for Singular/ideals.cc


Ignore:
Timestamp:
Jun 30, 1997, 2:31:44 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c404887f96dfef9cbd021add3ee8d350244f6087
Parents:
7adb5028d58cd523bb79d18cb12bbde01aa25097
Message:
* hannes: changes to manual suggested by Christian Gorzel
       (doc/singular.doc)
       added libs of Martin Lamm (LIB/HNPuiseux.lib LIB/primitiv.lib)
       det(intmat) yields an error if m is not a square matrix
       minor(m,i) yields an error if i<=0
       minor optimization in error checking code of det/minor
       (clapsing.cc ideals.cc iparith.cc)


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

Legend:

Unmodified
Added
Removed
  • Singular/ideals.cc

    r7adb502 rcf29809  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.9 1997-06-17 09:44:22 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.10 1997-06-30 12:31:40 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    19301930    ideal I=idInit(1,1);
    19311931    I->m[0]=pOne();
    1932     return I; 
     1932    return I;
    19331933  }
    19341934  if (deg == 1)
     
    21582158ideal idMinors(matrix a, int ar)
    21592159{
     2160  if(ar<=0)
     2161  {
     2162    Werror("%d-th minor ",ar);
     2163    return NULL;
     2164  }
    21602165  int     i,j,k,size;
    21612166  int *rowchoise,*colchoise;
     
    29402945    for (j=IDELEMS(res)-1;j>=0;j--)
    29412946    {
    2942       if ((res->m[j]!=NULL) && (pIsConstantComp(res->m[j])) && 
     2947      if ((res->m[j]!=NULL) && (pIsConstantComp(res->m[j])) &&
    29432948           (pNext(res->m[j])==NULL))
    29442949      {
Note: See TracChangeset for help on using the changeset viewer.