Changeset fee17e in git for Singular/extra.cc


Ignore:
Timestamp:
Mar 6, 2002, 5:38:29 PM (21 years ago)
Author:
Mathias Schulze <mschulze@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
e9124eb945e2e569a4fb576e98e311fadf62298b
Parents:
ec93f1c1322989965789c2b3ffdae40d5ba12b59
Message:
*mschulze: system-with for eigenval, gms


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

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rec93f1 rfee17e  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.179 2002-02-16 18:26:07 mschulze Exp $ */
     4/* $Id: extra.cc,v 1.180 2002-03-06 16:38:29 mschulze Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    9797 * - with    HAVE_DYNAMIC_LOADING: these functions are loaded as module.
    9898 */
    99 //#ifndef HAVE_DYNAMIC_LOADING
     99#ifndef HAVE_DYNAMIC_LOADING
     100
    100101#ifdef HAVE_PCV
    101102#include "pcv.h"
    102103#endif
    103 //#endif /* not HAVE_DYNAMIC_LOADING */
     104
     105#ifdef HAVE_EIGENVAL
     106#include "eigenval.h"
     107#endif
     108
     109#ifdef HAVE_GMS
     110#include "gms.h"
     111#endif
     112
     113#endif /* not HAVE_DYNAMIC_LOADING */
    104114
    105115// see clapsing.cc for a description of the `FACTORY_*' options
     
    251261          TEST_FOR("DynamicLoading");
    252262        #endif
     263        #ifdef HAVE_EIGENVAL
     264          TEST_FOR("eigenval");
     265        #endif
     266        #ifdef HAVE_GMS
     267          TEST_FOR("gms");
     268        #endif
    253269          ;
    254270        return FALSE;
     
    502518    else
    503519#endif
     520#ifndef HAVE_DYNAMIC_LOADING
    504521/*==================== pcv ==================================*/
    505 //#ifndef HAVE_DYNAMIC_LOADING
    506522#ifdef HAVE_PCV
    507523    if(strcmp(sys_cmd,"pcvLAddL")==0)
     
    541557    else
    542558#endif
    543 //#endif /* HAVE_DYNAMIC_LOADING */
     559/*==================== eigenvalues ==================================*/
     560#ifdef HAVE_EIGENVAL
     561    if(strcmp(sys_cmd,"hessenberg")==0)
     562    {
     563      return evHessenberg(res,h);
     564    }
     565    else
     566    if(strcmp(sys_cmd,"eigenvals")==0)
     567    {
     568      return evEigenvals(res,h);
     569    }
     570    else
     571#endif
     572/*==================== Gauss-Manin system ==================================*/
     573#ifdef HAVE_GMS
     574    if(strcmp(sys_cmd,"gmsnf")==0)
     575    {
     576      return gmsNF(res,h);
     577    }
     578    else
     579#endif
     580#endif /* HAVE_DYNAMIC_LOADING */
    544581/*==================== contributors =============================*/
    545582   if(strcmp(sys_cmd,"contributors") == 0)
     
    636673#include "mpsr.h"
    637674#include "mod_raw.h"
    638 #ifdef HAVE_EIGENVAL
    639 #include "eigenval.h"
    640 #endif
    641 #ifdef HAVE_GMS
    642 #include "gms.h"
    643 #endif
    644675
    645676static BOOLEAN jjEXTENDED_SYSTEM(leftv res, leftv h)
Note: See TracChangeset for help on using the changeset viewer.