Changeset 92dfcf in git


Ignore:
Timestamp:
Jan 19, 2002, 1:43:40 PM (22 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4f4eb5c00670f6ea7f8545bf784c9187045b4f97
Parents:
cb7578a9034f20d08a92cd05938a6eb9b7ce86ed
Message:
* added maIdeal_2_Ideal


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

Legend:

Unmodified
Added
Removed
  • Singular/fast_maps.cc

    rcb7578 r92dfcf  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 02/01
    9  *  Version: $Id: fast_maps.cc,v 1.7 2002-01-19 12:29:32 obachman Exp $
     9 *  Version: $Id: fast_maps.cc,v 1.8 2002-01-19 12:43:39 obachman Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    228228}
    229229
     230
     231ideal maIdeal_2_Ideal(maideal m_id, ring dest_r)
     232{
     233  ideal res = idInit(m_id->n);
     234  int l;
     235 
     236  for (int i= 0; i < m_id->n; i++)
     237  {
     238    sBucketDestroyMerge(mid->buckets[i], &(res->m[i]), &l);
     239  }
     240  return res;
     241}
    230242
    231243#if 0
  • Singular/fast_maps.h

    rcb7578 r92dfcf  
    88 *           bricken (Michael Brickenstein)
    99 *  Created: 01/02
    10  *  Version: $Id: fast_maps.h,v 1.7 2002-01-19 12:29:32 obachman Exp $
     10 *  Version: $Id: fast_maps.h,v 1.8 2002-01-19 12:43:40 obachman Exp $
    1111 *******************************************************************/
    1212
     
    8080
    8181// evaluates mpoly and destroys it, on the fly
    82 mapoly maPoly_Eval(mapoly mpoly, ring src_r, poly* dest_id, ring dest_r);
     82void maPoly_Eval(mapoly mpoly, ring src_r, poly* dest_id, ring dest_r);
    8383
    8484// creates mpoly and  mideal
     
    9191                       ring &src_r, ring &dest_r);
    9292
     93ideal maIdeal_2_Ideal(maideal ideal);
    9394
    9495
    9596
     97
Note: See TracChangeset for help on using the changeset viewer.