Changeset cf29809 in git for Singular/iparith.cc


Ignore:
Timestamp:
Jun 30, 1997, 2:31:44 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
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/iparith.cc

    r7adb502 rcf29809  
    22812281static BOOLEAN jjDET_I(leftv res, leftv v)
    22822282{
     2283  intvec * m=(intvec*)v->Data();
    22832284  int i,j;
    2284   intvec * m=(intvec*)v->Data();
    2285   res->data = (char *)singclap_det_i(m);
     2285  i=m->rows();j=m->cols();
     2286  if(i==j)
     2287    res->data = (char *)singclap_det_i(m);
     2288  else 
     2289  {
     2290    Werror("det of %d x %d intmat",i,j);
     2291    return TRUE;
     2292  } 
    22862293  return FALSE;
    22872294}
Note: See TracChangeset for help on using the changeset viewer.