Changeset e2b511 in git


Ignore:
Timestamp:
Jan 19, 2002, 4:48:46 PM (22 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
Children:
2d8590792119d11fdb84da502156b5d1f4aad4e7
Parents:
754c54789bebe7fb2b9556146116f630b01a6bca
Message:
added fast_map


git-svn-id: file:///usr/local/Singular/svn/trunk@5747 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/fast_maps.cc

    r754c547 re2b511  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 02/01
    9  *  Version: $Id: fast_maps.cc,v 1.13 2002-01-19 14:48:15 obachman Exp $
     9 *  Version: $Id: fast_maps.cc,v 1.14 2002-01-19 15:48:45 obachman Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    241241  omFree(m_id);
    242242  return res;
     243}
     244
     245
     246ideal fast_map(ideal map_id, ring map_r, ideal image_id, ring image_r)
     247{
     248  ring src_r, dest_r;
     249  maMap_CreateRings(map_id, map_r, image_id, image_r, src_r, dest_r);
     250 
     251  mapoly mp;
     252  maideal mideal;
     253  maMap_CreatePolyIdeal(map_id, map_r, src_r, dest_r, mp, mideal);
     254
     255  return maIdeal_2_Ideal(mideal, dest_r);
    243256}
    244257
  • Singular/fast_maps.h

    r754c547 re2b511  
    88 *           bricken (Michael Brickenstein)
    99 *  Created: 01/02
    10  *  Version: $Id: fast_maps.h,v 1.12 2002-01-19 14:48:15 obachman Exp $
     10 *  Version: $Id: fast_maps.h,v 1.13 2002-01-19 15:48:46 obachman Exp $
    1111 *******************************************************************/
    1212
     
    9797                       ring &src_r, ring &dest_r);
    9898
     99// collects tthe results into an ideal and destroys maideal
    99100ideal maIdeal_2_Ideal(maideal ideal, ring dest_r);
     101
     102ideal fast_map(ideal map_id, ring map_r, ideal image_id, ring image_r);
     103
    100104#endif
    101105
  • Singular/polys0.cc

    r754c547 re2b511  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys0.cc,v 1.20 2002-01-19 14:48:18 obachman Exp $ */
     4/* $Id: polys0.cc,v 1.21 2002-01-19 15:48:46 obachman Exp $ */
    55
    66/*
     
    2121* uses form x*gen(.) if ko != coloumn number of p
    2222*/
    23 void writemon(poly p, int ko, ring r)
     23static void writemon(poly p, int ko, ring r)
    2424{
    2525  BOOLEAN wroteCoef=FALSE,writeGen=FALSE;
Note: See TracChangeset for help on using the changeset viewer.