Changeset e40493 in git for Singular/iparith.cc


Ignore:
Timestamp:
Oct 25, 2010, 2:42:44 PM (14 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
def863c5f805648a6621b7829a098d93a4674d70
Parents:
ecf9dcf593da6add0caefe22cd9848d6852fc0e5
Message:
new command qrds in interpreter

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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    recf9dc re40493  
    72507250  // rest was w->next, but is already cleaned
    72517251  return b;
     7252}
     7253static BOOLEAN jjQRDS(leftv res, leftv INPUT)
     7254{
     7255  if ((INPUT->Typ() != MATRIX_CMD) ||
     7256      (INPUT->next->Typ() != NUMBER_CMD) ||
     7257      (INPUT->next->next->Typ() != NUMBER_CMD) ||
     7258      (INPUT->next->next->next->Typ() != NUMBER_CMD))
     7259  {
     7260    WerrorS("expected (matrix, number, number, number) as arguments");
     7261    return TRUE;
     7262  }
     7263  leftv u = INPUT; leftv v = u->next; leftv w = v->next; leftv x = w->next;
     7264  res->data = (char *)qrDoubleShift((matrix)(u->Data()),
     7265                                    (number)(v->Data()),
     7266                                    (number)(w->Data()),
     7267                                    (number)(x->Data()));
     7268  return FALSE;
    72527269}
    72537270static BOOLEAN jjSTD_HILB_WP(leftv res, leftv INPUT)
Note: See TracChangeset for help on using the changeset viewer.