Changeset d9d241 in git


Ignore:
Timestamp:
Feb 16, 2002, 11:57:54 AM (21 years ago)
Author:
Mathias Schulze <mschulze@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
e5ae3437b397e2d9bd9d13224c6fb63ffdc2a3f3
Parents:
c3f0f3d91585b51e93bc7c20833f975907183070
Message:
*mschulze: added hessenberg eigenvalues


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

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rc3f0f3 rd9d241  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.176 2002-02-12 18:25:13 mschulze Exp $ */
     4/* $Id: extra.cc,v 1.177 2002-02-16 10:57:54 mschulze Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    102102#endif
    103103//#endif /* not HAVE_DYNAMIC_LOADING */
    104 
    105 // eigenvalues of constant square matrices
    106 #ifdef HAVE_EIGENVAL
    107 #include "eigenval.h"
    108 #endif
    109104
    110105// see clapsing.cc for a description of the `FACTORY_*' options
     
    547542#endif
    548543//#endif /* HAVE_DYNAMIC_LOADING */
    549 /*==================== eigenval =============================*/
    550     if(strcmp(sys_cmd,"tridiag")==0)
    551     {
    552       return tridiag(res,h);
    553     }
    554     else
    555     if(strcmp(sys_cmd,"eigenval")==0)
    556     {
    557       return eigenval(res,h);
    558     }
    559     else
    560544/*==================== contributors =============================*/
    561545   if(strcmp(sys_cmd,"contributors") == 0)
     
    652636#include "mpsr.h"
    653637#include "mod_raw.h"
     638#ifdef HAVE_EIGENVAL
     639#include "eigenval.h"
     640#endif
     641#ifdef HAVE_GMS
    654642#include "gms.h"
     643#endif
    655644
    656645static BOOLEAN jjEXTENDED_SYSTEM(leftv res, leftv h)
     
    14721461#endif
    14731462#endif
    1474 /*==================== Gauss-Manin system normal form =================*/
    1475       if(strcmp(sys_cmd,"gmsnf")==0)
    1476       {
    1477         return gmsnf(res,h);
    1478       }
    1479       else
     1463/*==================== eigenvalues ==================================*/
     1464#ifdef HAVE_EIGENVAL
     1465    if(strcmp(sys_cmd,"hessenberg")==0)
     1466    {
     1467      return evHessenberg(res,h);
     1468    }
     1469    else
     1470    if(strcmp(sys_cmd,"eigenvalues")==0)
     1471    {
     1472      return evEigenvalue(res,h);
     1473    }
     1474    else
     1475#endif
     1476/*==================== Gauss-Manin system ==================================*/
     1477#ifdef HAVE_GMS
     1478    if(strcmp(sys_cmd,"gmsnf")==0)
     1479    {
     1480      return gmsNF(res,h);
     1481    }
     1482    else
     1483#endif
    14801484/*==================== Error =================*/
    14811485      Werror( "system(\"%s\",...) %s", sys_cmd, feNotImplemented );
Note: See TracChangeset for help on using the changeset viewer.