My Project
Loading...
Searching...
No Matches
prCopy.h
Go to the documentation of this file.
1#ifndef PRCOPY_H
2#define PRCOPY_H
3/****************************************
4* Computer Algebra System SINGULAR *
5****************************************/
6/*
7* ABSTRACT - declarations of functions for Copy/Move/Delete for Polys
8*/
9
11
12typedef number (*nMapFunc)(number a, const coeffs src, const coeffs dst);
13
14/*************************************************************************
15 *
16 * MoveR, CopyR, ShallowCopyR: operations to get ideals/polys
17 * from source_r to dest_r where
18 * - Coeff(source_r) == Coeff(dest_r)
19 * - dest_r->N <= source_r->N
20 * Move: input is destroyed
21 * ShallowCopy: monomials are copied, coeffs are set
22 * Copy: monomials and coeffs are copied
23 *
24 ************************************************************************/
25poly prMoveR_NoSort(poly &p, ring r, ring dest_r);
26poly prMoveR(poly &p, ring r, ring dest_r);
27poly prCopyR_NoSort(poly p, ring r, ring dest_r);
28poly prCopyR(poly p, ring r, ring dest_r);
29poly prShallowCopyR_NoSort(poly p, ring r, ring dest_t);
30poly prShallowCopyR(poly p, ring r, ring dest_t);
31poly prHeadR(poly p, ring r, ring dest_rg);
32
33ideal idrMoveR_NoSort(ideal &id, ring r, ring dest_r );
34ideal idrMoveR(ideal &id, ring r, ring dest_r );
35
36ideal idrCopyR_NoSort(ideal id, ring r, ring dest_r );
37ideal idrCopyR(ideal id, ring r, ring dest_r );
38
39ideal idrShallowCopyR_NoSort(ideal id, ring r, ring dest_r );
40ideal idrShallowCopyR(ideal id, ring r, ring dest_r );
41
42/// Copy leading terms of id[i] via prHeeadR into dest_r
43ideal idrHeadR(ideal id, ring r, ring dest_r );
44
45poly prMapR(poly src, nMapFunc nMap, ring src_r, ring dest_r);
46#endif
int p
Definition: cfModGcd.cc:4078
The main handler for Singular numbers which are suitable for Singular polynomials.
ideal idrCopyR_NoSort(ideal id, ring r, ring dest_r)
Definition: prCopy.cc:205
poly prCopyR_NoSort(poly p, ring r, ring dest_r)
Definition: prCopy.cc:77
ideal idrCopyR(ideal id, ring r, ring dest_r)
Definition: prCopy.cc:192
poly prMapR(poly src, nMapFunc nMap, ring src_r, ring dest_r)
Definition: prCopy.cc:45
poly prCopyR(poly p, ring r, ring dest_r)
Definition: prCopy.cc:34
ideal idrMoveR_NoSort(ideal &id, ring r, ring dest_r)
Definition: prCopy.cc:261
poly prMoveR_NoSort(poly &p, ring r, ring dest_r)
Definition: prCopy.cc:101
ideal idrShallowCopyR(ideal id, ring r, ring dest_r)
Definition: prCopy.cc:220
poly prShallowCopyR_NoSort(poly p, ring r, ring dest_t)
Definition: prCopy.cc:112
poly prShallowCopyR(poly p, ring r, ring dest_t)
Definition: prCopy.cc:117
ideal idrShallowCopyR_NoSort(ideal id, ring r, ring dest_r)
Definition: prCopy.cc:225
ideal idrMoveR(ideal &id, ring r, ring dest_r)
Definition: prCopy.cc:248
poly prHeadR(poly p, ring r, ring dest_rg)
Definition: prCopy.cc:141
ideal idrHeadR(ideal id, ring r, ring dest_r)
Copy leading terms of id[i] via prHeeadR into dest_r.
Definition: prCopy.cc:156
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
Definition: prCopy.h:12
poly prMoveR(poly &p, ring r, ring dest_r)
Definition: prCopy.cc:90