- Timestamp:
- Jan 19, 2002, 11:41:13 AM (22 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
- Children:
- 11bcf16868e35cf61d47685ac21e8c1493a43cd9
- Parents:
- 00d63c45de46c35a9d9ce363d5fcdbb662f69c9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fast_maps.h
r00d63c rd0441d 8 8 * bricken (Michael Brickenstein) 9 9 * Created: 01/02 10 * Version: $Id: fast_maps.h,v 1. 4 2002-01-19 10:40:15 SingularExp $10 * Version: $Id: fast_maps.h,v 1.5 2002-01-19 10:41:13 obachman Exp $ 11 11 *******************************************************************/ 12 12 … … 52 52 *S definition of basic routines 53 53 */ 54 void maMonomial_Out(mapoly monomial, ring src_r, ring dest_r );55 void maPoly_Out(mapoly mpoly, ring src_ring, ring dest_r );54 void maMonomial_Out(mapoly monomial, ring src_r, ring dest_r = NULL); 55 void maPoly_Out(mapoly mpoly, ring src_ring, ring dest_r = NULL); 56 56 57 57 // creates a new maMonomial 58 58 // if bucket != NULL, a coeff with the bucket is created, as well 59 mapoly maMonomial_Create(poly p, ring , sBucket_pt bucket );59 mapoly maMonomial_Create(poly p, ring , sBucket_pt bucket = NULL); 60 60 // unconditionally destroys a maMonomial: 61 61 // src: LmFree 62 62 // dest: p_Delete 63 63 // coeffs: delete list 64 void maMonomial_Destroy(mapoly monomial, ring src_r, ring dest_r );64 void maMonomial_Destroy(mapoly monomial, ring src_r, ring dest_r = NULL); 65 65 // decrements ref counter, if 0, calls Destroy 66 inline mapoly maMonomial_Free(mapoly monomial, ring src_r, ring dest_r )66 inline mapoly maMonomial_Free(mapoly monomial, ring src_r, ring dest_r = NULL) 67 67 { 68 68 monomial->ref--; … … 73 73 74 74 // inserts ("adds") monomial what into poly into 75 mapoly maPoly_InsertMonomial(mapoly &into, mapoly what, ring src_r); 75 mapoly maPoly_InsertMonomial(mapoly into, mapoly what, ring src_r); 76 mapoly maPoly_InsertMonomial(mapoly into, poly p, ring src_r, sBucket_pt bucket = NULL) 77 76 78 77 79 // optimizes mpoly for later evaluation
Note: See TracChangeset
for help on using the changeset viewer.