source: git/dyn_modules/syzextra/syzextra.h @ cd5fefc

spielwiese
Last change on this file since cd5fefc was cd5fefc, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
new p_Tail and id_Tail (separated from a wrapper)
  • Property mode set to 100644
File size: 1.4 KB
Line 
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
22struct  spolyrec;
23typedef struct spolyrec    polyrec;
24typedef polyrec *          poly;
25
26struct ip_sring;
27typedef struct ip_sring *         ring;
28
29struct sip_sideal;
30typedef struct sip_sideal *       ideal;
31
32
33BEGIN_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
39poly 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
46ideal id_Tail(const ideal id, const ring r);
47
48
49
50END_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
Note: See TracBrowser for help on using the repository browser.