1 | // -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
---|
2 | /*****************************************************************************\ |
---|
3 | * Computer Algebra System SINGULAR |
---|
4 | \*****************************************************************************/ |
---|
5 | /** @file syzextra.h |
---|
6 | * |
---|
7 | * Computation of Syzygies |
---|
8 | * |
---|
9 | * ABSTRACT: Computation of Syzygies due to Schreyer |
---|
10 | * |
---|
11 | * @author Oleksandr Motsak |
---|
12 | * |
---|
13 | **/ |
---|
14 | /*****************************************************************************/ |
---|
15 | |
---|
16 | #ifndef SYZEXTRA_H |
---|
17 | #define SYZEXTRA_H |
---|
18 | |
---|
19 | // include basic definitions |
---|
20 | #include "singularxx_defs.h" |
---|
21 | |
---|
22 | struct spolyrec; |
---|
23 | typedef struct spolyrec polyrec; |
---|
24 | typedef polyrec * poly; |
---|
25 | |
---|
26 | struct ip_sring; |
---|
27 | typedef struct ip_sring * ring; |
---|
28 | |
---|
29 | struct sip_sideal; |
---|
30 | typedef struct sip_sideal * ideal; |
---|
31 | |
---|
32 | |
---|
33 | BEGIN_NAMESPACE_SINGULARXX BEGIN_NAMESPACE(SYZEXTRA) |
---|
34 | |
---|
35 | |
---|
36 | /// return the tail of a given polynomial or vector |
---|
37 | /// returns NULL if input is NULL, otherwise |
---|
38 | /// the result is a new polynomial/vector in the ring r |
---|
39 | poly p_Tail(const poly p, const ring r); |
---|
40 | |
---|
41 | |
---|
42 | /// return the tail of a given ideal or module |
---|
43 | /// returns NULL if input is NULL, otherwise |
---|
44 | /// the result is a new ideal/module in the ring r |
---|
45 | /// NOTE: the resulting rank is autocorrected |
---|
46 | ideal id_Tail(const ideal id, const ring r); |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | END_NAMESPACE END_NAMESPACE_SINGULARXX |
---|
51 | |
---|
52 | #endif |
---|
53 | /* #ifndef SYZEXTRA_H */ |
---|
54 | |
---|
55 | // Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab |
---|
56 | |
---|