[35aab3] | 1 | /**************************************** |
---|
| 2 | * Computer Algebra System SINGULAR * |
---|
| 3 | ****************************************/ |
---|
| 4 | /* $Id: prCopy.h,v 1.1.1.1 2003-10-06 12:16:02 Singular Exp $ */ |
---|
| 5 | /* |
---|
| 6 | * ABSTRACT - declarations of functions for Copy/Move/Delete for Polys |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | /************************************************************************* |
---|
| 11 | * |
---|
| 12 | * MoveR, CopyR, ShallowCopyR: operations to get ideals/polys |
---|
| 13 | * from source_r to dest_r where |
---|
| 14 | * - Coeff(source_r) == Coeff(dest_r) |
---|
| 15 | * - dest_r->N <= source_r->N |
---|
| 16 | * Move: input is destroyed |
---|
| 17 | * ShallowCopy: monomials are copied, coeffs are set |
---|
| 18 | * Copy: monomials and coeffs are copied |
---|
| 19 | * |
---|
| 20 | ************************************************************************/ |
---|
| 21 | poly prMoveR_NoSort(poly &p, ring r, ring dest_r = currRing); |
---|
| 22 | poly prMoveR(poly &p, ring r, ring dest_r = currRing); |
---|
| 23 | poly prCopyR_NoSort(poly p, ring r, ring dest_r = currRing); |
---|
| 24 | poly prCopyR(poly p, ring r, ring dest_r = currRing); |
---|
| 25 | poly prShallowCopyR_NoSort(poly p, ring r, ring dest_t = currRing); |
---|
| 26 | poly prShallowCopyR(poly p, ring r, ring dest_t = currRing); |
---|
| 27 | poly prHeadR(poly p, ring r, ring dest_r = currRing); |
---|
| 28 | |
---|
| 29 | ideal idrMoveR_NoSort(ideal &id, ring r, ring dest_r = currRing); |
---|
| 30 | ideal idrMoveR(ideal &id, ring r, ring dest_r = currRing); |
---|
| 31 | ideal idrCopyR_NoSort(ideal id, ring r, ring dest_r = currRing); |
---|
| 32 | ideal idrCopyR(ideal id, ring r, ring dest_r = currRing); |
---|
| 33 | ideal idrShallowCopyR_NoSort(ideal id, ring r, ring dest_r = currRing); |
---|
| 34 | ideal idrShallowCopyR(ideal id, ring r, ring dest_r = currRing); |
---|
| 35 | ideal idrHeadR(ideal id, ring r, ring dest_r = currRing); |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | |
---|