Changeset 33293b6 in git for Singular/ipshell.cc


Ignore:
Timestamp:
Jan 19, 2002, 6:11:00 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e63e2390bd2de7a38f9c6a092970ef10827a89b7
Parents:
15fb305b4c55c461f2146d16b6578117c4a79a7c
Message:
*hannes: #define FAST_MAP


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r15fb305 r33293b6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.71 2002-01-10 12:33:20 Singular Exp $ */
     4/* $Id: ipshell.cc,v 1.72 2002-01-19 17:11:00 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    3636#define SI_DONT_HAVE_GLOBAL_VARS
    3737#include <factory.h>
     38#endif
     39
     40// define this if you want to use the fast_map routine for mapping ideals
     41//#define FAST_MAP
     42
     43#ifdef FAST_MAP
     44#include "fast_maps.h"
    3845#endif
    3946
     
    736743      tmpW.rtyp=IDTYP(w);
    737744      tmpW.data=IDDATA(w);
     745      #ifdef FAST_MAP
     746      if ((tmpW.rtyp==IDEAL_CMD) && (nMap==nCopy))
     747      {
     748        v->rtyp=IDEAL_CMD;
     749        v->data=fast_map(IDIDEAL(w), IDRING(r), (ideal)theMap, currRing);
     750      }
     751      else
     752      #endif
    738753      if (maApplyFetch(MAP_CMD,theMap,v,&tmpW,IDRING(r),NULL,NULL,0,nMap))
    739754      {
Note: See TracChangeset for help on using the changeset viewer.