# source:git/libpolys/polys/prCopy.h@351a5f

spielwiese
Last change on this file since 351a5f was 351a5f, checked in by Hans Schoenemann <hannes@…>, 12 years ago
syntax fixes for libpoly, part 3: ring.cc
• Property mode set to `100644`
File size: 1.5 KB
Line
1#ifndef PRCOPY_H
2#define PRCOPY_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* \$Id\$ */
7/*
8* ABSTRACT - declarations of functions for Copy/Move/Delete for Polys
9*/
10
11
12/*************************************************************************
13 *
14 * MoveR, CopyR, ShallowCopyR: operations to get ideals/polys
15 *                             from source_r to dest_r where
16 *  - Coeff(source_r) == Coeff(dest_r)
17 *  - dest_r->N <= source_r->N
18 * Move:        input is destroyed
19 * ShallowCopy: monomials are copied, coeffs are set
20 * Copy:        monomials and coeffs are copied
21 *
22 ************************************************************************/
23poly prMoveR_NoSort(poly &p, ring r, ring dest_r);
24poly prMoveR(poly &p, ring r, ring dest_r);
25poly prCopyR_NoSort(poly p, ring r, ring dest_r);
26poly prCopyR(poly p, ring r, ring dest_r);
27poly prShallowCopyR_NoSort(poly p, ring r, ring dest_t);
28poly prShallowCopyR(poly p, ring r, ring dest_t);
29poly prHeadR(poly p, ring r, ring dest_rg);
30
31ideal idrMoveR_NoSort(ideal &id, ring r, ring dest_r );
32ideal idrMoveR(ideal &id, ring r, ring dest_r );
33
34ideal idrCopyR_NoSort(ideal id, ring r, ring dest_r );
35ideal idrCopyR(ideal id, ring r, ring dest_r );
36
37ideal idrShallowCopyR_NoSort(ideal id, ring r, ring dest_r );
38ideal idrShallowCopyR(ideal id, ring r, ring dest_r );
39