Changeset 530df5 in git


Ignore:
Timestamp:
May 19, 2015, 10:56:09 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
70be3ab9933c699a3968a0323aa492c9fd6a025e
Parents:
8f97981a9daeadcd937dd52102d0017658247798
Message:
test-impl. for LU for bigintmat/cmatrix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r8f9798 r530df5  
    6565#include <polys/weight.h>
    6666
    67 
     67#include <coeffs/bigintmat.h>
    6868#include <kernel/fast_mult.h>
    6969#include <kernel/digitech.h>
     
    37473747    }
    37483748    else
     3749/*==================== LU for bigintmat =================*/
     3750#ifdef SINGULAR_4_1
     3751    if(strcmp(sys_cmd,"LU")==0)
     3752    {
     3753      if ((h!=NULL) && (h->Typ()==CMATRIX_CMD))
     3754      {
     3755        // get the argument:
     3756        bigintmat *b=(bigintmat *)h->Data();
     3757        // just for tests: simply transpose
     3758        bigintmat *bb=b->transpose();
     3759        // return the result:
     3760        res->rtyp=CMATRIX_CMD;
     3761        res->data=(char*)bb;
     3762        return FALSE;
     3763      }
     3764      else
     3765      {
     3766        WerrorS("system(\"LU\",<cmatrix>) expected");
     3767        return TRUE;
     3768      }
     3769    }
     3770    else
     3771#endif   
    37493772/*==================== Error =================*/
    37503773      Werror( "(extended) system(\"%s\",...) %s", sys_cmd, feNotImplemented );
Note: See TracChangeset for help on using the changeset viewer.