Changeset 2f436b in git for Singular/prCopy.h


Ignore:
Timestamp:
Dec 31, 2000, 4:14:47 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e609098c45a74ac91c002ffa7ece5eebe7f8c002
Parents:
33ec1145a109507ad3e3cf4a69a847b703358e93
Message:
* version 1-3-13: sparsemat improivements


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

Legend:

Unmodified
Added
Removed
  • Singular/prCopy.h

    r33ec11 r2f436b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: prCopy.h,v 1.1 1999-11-15 17:20:42 obachman Exp $ */
     4/* $Id: prCopy.h,v 1.2 2000-12-31 15:14:43 obachman Exp $ */
    55/*
    66* ABSTRACT - declarations of functions for Copy/Move/Delete for Polys
     
    1212 * MoveR, CopyR, DeleteR, HeadR, SortR
    1313 * Assume: ideal/poly from ring r
    14  *         Coef(r) == Coef(currRing)
     14 *         Coeff(r) == Coeff(currRing)
    1515 * Move, Delete: input object is destroyed and set to NULL
    1616 *
    17  * Sort: revert == TRUE is faster for polys which are almost sorted correctly
    1817 *
    1918 ************************************************************************/
     
    2322poly prCopyR(poly p, ring r);
    2423poly prHeadR(poly p, ring r);
    25 void prDeleteR(poly &p, ring r);
    26 poly prSortR(poly p, ring r, BOOLEAN revert = TRUE);
    27 poly prMergeR(poly p1, poly p2, ring r);
    2824
    2925ideal idrMoveR_NoSort(ideal &id, ring r);
     
    3228ideal idrCopyR(ideal id, ring r);
    3329ideal idrHeadR(ideal id, ring r);
    34 void  idrDeleteR(ideal &id, ring r);
    35 
    36 /*************************************************************************
    37  *
    38  * Copy, Delete, Sort
    39  *
    40  *************************************************************************/
    41 
    42 inline poly pSort(poly p, BOOLEAN revert = TRUE)
    43 {
    44   return prSortR(p, currRing, revert);
    45 }
    46 
    47 inline poly pMerge(poly p1, poly p2)
    48 {
    49   return prMergeR(p1, p2, currRing);
    50 }
    51 
    52 /*************************************************************************
    53  *
    54  * Specialized sort routines
    55  *
    56  *************************************************************************/
    57 // TBC:
    58 // Assume: If considerd only as poly in any component of p
    59 // (say, monomials of other components of p are set to 0),
    60 // then p is already sorted correctly
    61 #define pSortCompCorrect(p) pSort(p, TRUE)
    6230
    6331
     32
     33
Note: See TracChangeset for help on using the changeset viewer.