Changeset d0441d in git for Singular


Ignore:
Timestamp:
Jan 19, 2002, 11:41:13 AM (22 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
11bcf16868e35cf61d47685ac21e8c1493a43cd9
Parents:
00d63c45de46c35a9d9ce363d5fcdbb662f69c9e
Message:
more interface functions


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

Legend:

Unmodified
Added
Removed
  • Singular/fast_maps.h

    r00d63c rd0441d  
    88 *           bricken (Michael Brickenstein)
    99 *  Created: 01/02
    10  *  Version: $Id: fast_maps.h,v 1.4 2002-01-19 10:40:15 Singular Exp $
     10 *  Version: $Id: fast_maps.h,v 1.5 2002-01-19 10:41:13 obachman Exp $
    1111 *******************************************************************/
    1212
     
    5252*S  definition of basic routines
    5353*/
    54 void maMonomial_Out(mapoly monomial, ring src_r, ring dest_r);
    55 void maPoly_Out(mapoly mpoly, ring src_ring, ring dest_r);
     54void maMonomial_Out(mapoly monomial, ring src_r, ring dest_r = NULL);
     55void maPoly_Out(mapoly mpoly, ring src_ring, ring dest_r = NULL);
    5656
    5757// creates a new maMonomial
    5858// if bucket != NULL, a coeff with the bucket is created, as well
    59 mapoly maMonomial_Create(poly p, ring , sBucket_pt bucket);
     59mapoly maMonomial_Create(poly p, ring , sBucket_pt bucket = NULL);
    6060// unconditionally destroys a maMonomial:
    6161// src: LmFree
    6262// dest: p_Delete
    6363// coeffs: delete list
    64 void maMonomial_Destroy(mapoly monomial, ring src_r, ring dest_r);
     64void maMonomial_Destroy(mapoly monomial, ring src_r, ring dest_r = NULL);
    6565// decrements ref counter, if 0, calls Destroy
    66 inline mapoly maMonomial_Free(mapoly monomial, ring src_r, ring dest_r)
     66inline mapoly maMonomial_Free(mapoly monomial, ring src_r, ring dest_r = NULL)
    6767{
    6868  monomial->ref--;
     
    7373
    7474// inserts ("adds") monomial what into poly into
    75 mapoly maPoly_InsertMonomial(mapoly &into, mapoly what, ring src_r);
     75mapoly maPoly_InsertMonomial(mapoly into, mapoly what, ring src_r);
     76mapoly maPoly_InsertMonomial(mapoly into, poly p, ring src_r, sBucket_pt bucket = NULL)
     77
    7678
    7779// optimizes mpoly for later evaluation
Note: See TracChangeset for help on using the changeset viewer.